This article will brief about the puppet server’s directory architecture and important configuration files. We can classify the puppet server directories as 1. Code Directory and Data Directory 2. Config directory. Puppet’s code directory is a main directory to store the code and data. It contains environments which stores manifests and modules. Manifest directory contains site.pp and nodes.pp files which helps you to apply the configuration across whole puppet environment. Modules directory contains several directories and we should follow the rules to make the module “autoload” in puppet. Puppet automatically loads modules from one or more directories. The list of directories Puppet will find modules in is called the “modulepath”.
Let’s explore the puppet server directory structure.
1. Login to the puppet server as root user.
2. Puppet configuration and code directories are defined in pe-puppet-server.conf.
[root@UA-HA conf.d]# grep master /etc/puppetlabs/puppetserver/conf.d/pe-puppet-server.conf master-conf-dir: /etc/puppetlabs/puppet master-code-dir: /etc/puppetlabs/code master-var-dir: /opt/puppetlabs/server/data/puppetserver master-run-dir: /var/run/puppetlabs/puppetserver master-log-dir: /var/log/puppetlabs/puppetserver # (optional) Authorize access to Puppet master endpoints via rules specified [root@UA-HA conf.d]#
3. Puppet configuration files are stored in “/etc/puppetlabs/puppet” directory path.
[root@UA-HA puppet]# ls -lrt /etc/puppetlabs/puppet total 24 -rw-r--r-- 1 pe-puppet pe-puppet 62 Jan 27 10:35 classifier.yaml -rw-r--r-- 1 root root 944 Jan 27 10:35 auth.conf -rw-r--r-- 1 root root 116 Jan 27 10:35 puppetdb.conf -r--r--r-- 1 pe-puppet pe-puppet 68 Jan 27 10:35 routes.yaml -rw-r--r-- 1 root root 144 Jan 27 10:36 fileserver.conf drwxrwx--x 8 pe-puppet pe-puppet 119 Feb 5 03:59 ssl -rw------- 1 pe-puppet pe-puppet 527 Feb 5 04:12 puppet.conf [root@UA-HA puppet]#
Some of the files are stored in “/etc/puppetlabs/puppetserver/conf.d/” location.
[root@UA-HA conf.d]# ls -lrt total 44 -rw-r--r-- 1 root root 49 Dec 1 01:14 ca.conf -rw-r----- 1 pe-puppet pe-puppet 752 Jan 27 10:36 webserver.conf -rw-r----- 1 pe-puppet pe-puppet 1772 Jan 27 10:36 web-routes.conf -rw-r----- 1 pe-puppet pe-puppet 452 Jan 27 10:36 global.conf -rw-r----- 1 pe-puppet pe-puppet 875 Jan 27 10:36 metrics.conf -rw-r----- 1 pe-puppet pe-puppet 75 Jan 27 10:36 rbac-consumer.conf -rw-r----- 1 pe-puppet pe-puppet 83 Jan 27 10:36 activity-consumer.conf -rw-r----- 1 pe-puppet pe-puppet 688 Jan 27 10:36 file-sync.conf -rw-r----- 1 pe-puppet pe-puppet 2185 Jan 27 10:36 pe-puppet-server.conf -rw-r--r-- 1 root root 6320 Jan 27 10:36 auth.conf [root@UA-HA conf.d]#
4. Puppet variable files are stored under “/opt/puppetlabs/server/data/puppetserver/”
[root@UA-HA ~]# ls -lrt /opt/puppetlabs/server/data/puppetserver total 0 drwxr-xr-t 2 pe-puppet pe-puppet 6 Jan 27 10:37 state drwxr-xr-x 2 pe-puppet pe-puppet 6 Jan 27 10:37 lib drwxr-x--- 2 pe-puppet pe-puppet 6 Jan 27 10:37 preview drwxr-x--- 2 pe-puppet pe-puppet 6 Jan 27 10:37 bucket drwxr-x--- 2 pe-puppet pe-puppet 6 Jan 27 10:37 server_data drwxr-x--- 2 pe-puppet pe-puppet 6 Jan 27 10:37 reports drwxr-xr-x 2 pe-puppet pe-puppet 6 Jan 27 10:37 facts.d drwxr-xr-x 4 pe-puppet pe-puppet 33 Jan 27 10:38 filesync drwxr-x--- 4 pe-puppet pe-puppet 29 Jan 27 10:41 yaml [root@UA-HA ~]#
5. Puppet server logs are stored in “/var/log/puppetlabs/puppetserver” .
[root@UA-HA ~]# ls -lrt /var/log/puppetlabs/puppetserver total 6084 -rw-rw---- 1 pe-puppet pe-puppet 0 Jan 27 10:37 masterhttp.log -rw-r--r-- 1 pe-puppet pe-puppet 23327 Feb 3 05:32 puppetserver.log-20160203.gz -rw-r--r-- 1 pe-puppet pe-puppet 25594 Feb 3 05:34 puppetserver-access.log-20160203.gz -rw-r--r-- 1 pe-puppet pe-puppet 160835 Feb 3 05:40 file-sync-access.log-20160203.gz -rw-r--r-- 1 pe-puppet pe-puppet 25376 Feb 8 14:21 puppetserver.log-20160208.gz -rw-r--r-- 1 pe-puppet pe-puppet 34356 Feb 8 14:21 puppetserver-access.log-20160208.gz -rw-r--r-- 1 pe-puppet pe-puppet 139993 Feb 8 14:26 file-sync-access.log-20160208.gz -rw-r--r-- 1 pe-puppet pe-puppet 343321 Feb 10 07:33 puppetserver.log -rw-r--r-- 1 pe-puppet pe-puppet 464938 Feb 10 07:42 puppetserver-access.log -rw-r--r-- 1 pe-puppet pe-puppet 4106745 Feb 10 07:45 file-sync-access.log [root@UA-HA ~]#
6. Here is the code directory path for puppet.
[root@UA-HA puppet]# ls -lrt /etc/puppetlabs/code total 4 -rw-r--r-- 1 pe-puppet pe-puppet 371 Jan 27 10:38 hiera.yaml drwxr-xr-x 3 pe-puppet pe-puppet 23 Jan 27 10:38 environments [root@UA-HA puppet]#
Let’s explorer more about “environments”. (/etc/puppetlabs/code/environments)
1. Navigate to “/etc/puppetlabs/code/environments” directory and list the configured environment.
[root@UA-HA environments]# ls -lrt total 0 drwxr-xr-x 4 pe-puppet pe-puppet 70 Feb 8 14:18 production [root@UA-HA environments]#
Here we can see that only one environment (Production) has been configured.
2. Let’s see what production environment has. By default , It has the environmnet.conf file, manifests and modules directory.
[root@UA-HA production]# ls -lrt total 4 -rw-r--r-- 1 pe-puppet pe-puppet 879 Jan 27 10:38 environment.conf drwxr-xr-x 2 pe-puppet pe-puppet 49 Feb 9 02:53 manifests drwxr-xr-x 5 root root 49 Feb 9 18:50 modules [root@UA-HA production]#
3. “manifests” directory contains the file “site.pp” . This file is used to make the configuration environment wide. Let’s see the content of site.pp.
[root@UA-HA manifests]# more site.pp ## site.pp ## # This file (/etc/puppetlabs/puppet/manifests/site.pp) is the main entry point # used when an agent connects to a master and asks for an updated configuration. # # Global objects like filebuckets and resource defaults should go in this file, # as should the default node definition. (The default node can be omitted # if you use the console and don't define any other nodes in site.pp. See # http://docs.puppetlabs.com/guides/language_guide.html#nodes for more on # node definitions.) ## Active Configurations ## # Disable filebucket by default for all File resources: File { backup => false } # DEFAULT NODE # Node definitions in this file are merged with node data from the console. See # http://docs.puppetlabs.com/guides/language_guide.html#nodes for more on # node definitions.
# The default node definition matches any node lacking a more specific node # definition. If there are no other nodes in this file, classes declared here # will be included in every node's catalog, *in addition* to any classes # specified in the console for that node.
node default { # This is where you can declare classes for all nodes. # Example: # class { 'mycode': } } [root@UA-HA manifests]#
You can also create a file called “nodes.pp” under manifest to list the specific nodes.
Example:
[root@UA-HA manifests]# cat nodes.pp node uapa1 { include mycode } [root@UA-HA manifests]#
In this example , we are calling module called “mycode” for specific puppet agent “uapa1” .
4. Navigate to “module” directory for production environment “/etc/puppetlabs/code/environments/production/modules” .
[root@UA-HA production]# tree modules modules # all modules are stored in this directory for production environment ├── accounts # Rule: the module's main folder must be named after the module itself. │ ├── examples # Example directroy is used to perform the dry on current machine │ │ └── init.pp # Calling Main manifest from manifests directroy │ ├── files # This contains a bunch of static files, which can be downloaded by puppet agents. │ ├── manifests # This houses all your manifests. │ │ ├── groups.pp # Manifest │ │ └── init.pp # rule: all modules should have a manifest called init.pp │ └── templates # This contains templates that are used by a module’s manifest.
5. Let’s create a new module directories . you must specify a dash-separated username and module name.
[root@UA-HA modules]# puppet module generate lingesh-httpd We need to create a metadata.json file for this module. Please answer the following questions; if the question is not applicable to this module, feel free to leave it blank. Puppet uses Semantic Versioning (semver.org) to version modules. What version is this module? [0.1.0] --> Who wrote this module? [lingesh] --> What license does this module code fall under? [Apache-2.0] --> How would you describe this module in a single sentence? --> To install httpd(apache) on Linux servers Where is this module's source code repository? --> Where can others go to learn more about this module? --> Where can others go to file issues about this module? --> ---------------------------------------- { "name": "lingesh-httpd", "version": "0.1.0", "author": "lingesh", "summary": "To install httpd(apache) on Linux servers", "license": "Apache-2.0", "source": "", "project_page": null, "issues_url": null, "dependencies": [ {"name":"puppetlabs-stdlib","version_requirement":">= 1.0.0"} ], "data_provider": null } ---------------------------------------- About to generate this metadata; continue? [n/Y] --> y Notice: Generating module at /etc/puppetlabs/code/environments/production/modules/httpd... Notice: Populating templates... Finished; module generated in httpd. httpd/Gemfile httpd/Rakefile httpd/manifests httpd/manifests/init.pp httpd/spec httpd/spec/classes httpd/spec/classes/init_spec.rb httpd/spec/spec_helper.rb httpd/tests httpd/tests/init.pp httpd/README.md httpd/metadata.json [root@UA-HA modules]#
- You should to run this command while in the module’s directory.
- You should to pass the module’s name as a “authorname-modulename” construct.
- You must ensure that your module has a unique name if you decide to share your module on puppetforge.
- Hence your puppetforge account’s username is what you start your module’s name with.
After that it creates the following:
[root@UA-HA modules]# ls -ld httpd drwxr-xr-x 5 root root 110 Feb 10 15:39 httpd [root@UA-HA modules]# tree httpd httpd ├── Gemfile ├── manifests │ └── init.pp ├── metadata.json ├── Rakefile ├── README.md ├── spec │ ├── classes │ │ └── init_spec.rb │ └── spec_helper.rb └── tests └── init.pp 4 directories, 8 files [root@UA-HA modules]#
We have successfully created new module directories. (we will write the manifest later)
Creating New Environment:
1.List the existing environment in puppet.
[root@UA-HA environments]# pwd /etc/puppetlabs/code/environments [root@UA-HA environments]# ls -ld production drwxr-xr-x 4 pe-puppet pe-puppet 70 Feb 8 14:18 production [root@UA-HA environments]#
2. Check the existing production environment settings.
[root@UA-HA environments]# puppet config print --section master --environment production cfacter = false confdir = /etc/puppetlabs/puppet codedir = /etc/puppetlabs/code vardir = /opt/puppetlabs/puppet/cache name = config logdir = /var/log/puppetlabs/puppet log_level = notice disable_warnings = [] priority = trace = false profile = false autoflush = true syslogfacility = daemon statedir = /opt/puppetlabs/puppet/cache/state rundir = /var/run/puppetlabs genconfig = false genmanifest = false configprint = color = ansi mkusers = false manage_internal_file_permissions = true onetime = false path = none libdir = /opt/puppetlabs/puppet/cache/lib environment = production environmentpath = /etc/puppetlabs/code/environments always_cache_features = true diff_args = -u diff = diff show_diff = false daemonize = true maximum_uid = 4294967290 route_file = /etc/puppetlabs/puppet/routes.yaml node_terminus = classifier node_cache_terminus = data_binding_terminus = hiera hiera_config = /etc/puppetlabs/code/hiera.yaml binder_config = catalog_terminus = compiler catalog_cache_terminus = facts_terminus = facter default_file_terminus = rest http_proxy_host = none http_proxy_port = 3128 http_proxy_user = none http_proxy_password = none http_keepalive_timeout = 4 http_debug = false http_connect_timeout = 120 http_read_timeout = filetimeout = 15 environment_timeout = 0 environment_data_provider = none prerun_command = postrun_command = freeze_main = false trusted_server_facts = false preview_outputdir = /opt/puppetlabs/puppet/cache/preview app_management = true module_repository = https://forgeapi.puppetlabs.com module_working_dir = /opt/puppetlabs/puppet/cache/puppet-module module_skeleton_dir = /opt/puppetlabs/puppet/cache/puppet-module/skeleton forge_authorization = module_groups = base+pe_only certname = uaha.unixarena.com dns_alt_names = csr_attributes = /etc/puppetlabs/puppet/csr_attributes.yaml certdir = /etc/puppetlabs/puppet/ssl/certs ssldir = /etc/puppetlabs/puppet/ssl publickeydir = /etc/puppetlabs/puppet/ssl/public_keys requestdir = /etc/puppetlabs/puppet/ssl/certificate_requests privatekeydir = /etc/puppetlabs/puppet/ssl/private_keys privatedir = /etc/puppetlabs/puppet/ssl/private passfile = /etc/puppetlabs/puppet/ssl/private/password hostcsr = /etc/puppetlabs/puppet/ssl/csr_uaha.unixarena.com.pem hostcert = /etc/puppetlabs/puppet/ssl/certs/uaha.unixarena.com.pem hostprivkey = /etc/puppetlabs/puppet/ssl/private_keys/uaha.unixarena.com.pem hostpubkey = /etc/puppetlabs/puppet/ssl/public_keys/uaha.unixarena.com.pem localcacert = /etc/puppetlabs/puppet/ssl/certs/ca.pem ssl_client_ca_auth = ssl_server_ca_auth = hostcrl = /etc/puppetlabs/puppet/ssl/crl.pem certificate_revocation = false digest_algorithm = md5 ca_name = Puppet CA: uaha.unixarena.com cadir = /etc/puppetlabs/puppet/ssl/ca cacert = /etc/puppetlabs/puppet/ssl/ca/ca_crt.pem cakey = /etc/puppetlabs/puppet/ssl/ca/ca_key.pem capub = /etc/puppetlabs/puppet/ssl/ca/ca_pub.pem cacrl = /etc/puppetlabs/puppet/ssl/ca/ca_crl.pem caprivatedir = /etc/puppetlabs/puppet/ssl/ca/private csrdir = /etc/puppetlabs/puppet/ssl/ca/requests signeddir = /etc/puppetlabs/puppet/ssl/ca/signed capass = /etc/puppetlabs/puppet/ssl/ca/private/ca.pass serial = /etc/puppetlabs/puppet/ssl/ca/serial autosign = /etc/puppetlabs/puppet/autosign.conf allow_duplicate_certs = false ca_ttl = 157680000 req_bits = 4096 keylength = 4096 cert_inventory = /etc/puppetlabs/puppet/ssl/ca/inventory.txt config_file_name = puppet.conf config = /etc/puppetlabs/puppet/puppet.conf pidfile = /var/run/puppetlabs/master.pid bindaddress = 0.0.0.0 manifest = /etc/puppetlabs/code/environments/production/manifests modulepath = /etc/puppetlabs/code/environments/production/modules:/etc/puppetlabs/code/modules:/opt/puppetlabs/puppet/modules config_version = user = pe-puppet group = pe-puppet default_manifest = ./manifests disable_per_environment_manifest = false code = masterhttplog = /var/log/puppetlabs/puppet/masterhttp.log masterport = 8140 node_name = cert bucketdir = /opt/puppetlabs/puppet/cache/bucket rest_authconfig = /etc/puppetlabs/puppet/auth.conf ca = true trusted_oid_mapping_file = /etc/puppetlabs/puppet/custom_trusted_oid_mapping.yaml basemodulepath = /etc/puppetlabs/code/modules:/opt/puppetlabs/puppet/modules ssl_client_header = HTTP_X_CLIENT_DN ssl_client_verify_header = HTTP_X_CLIENT_VERIFY yamldir = /opt/puppetlabs/puppet/cache/yaml server_datadir = /opt/puppetlabs/puppet/cache/server_data reports = puppetdb reportdir = /opt/puppetlabs/puppet/cache/reports reporturl = http://localhost:3000/reports/upload fileserverconfig = /etc/puppetlabs/puppet/fileserver.conf strict_hostname_checking = false devicedir = /opt/puppetlabs/puppet/cache/devices deviceconfig = /etc/puppetlabs/puppet/device.conf node_name_value = uaha.unixarena.com node_name_fact = statefile = /opt/puppetlabs/puppet/cache/state/state.yaml clientyamldir = /opt/puppetlabs/puppet/cache/client_yaml client_datadir = /opt/puppetlabs/puppet/cache/client_data classfile = /opt/puppetlabs/puppet/cache/state/classes.txt resourcefile = /opt/puppetlabs/puppet/cache/state/resources.txt puppetdlog = /var/log/puppetlabs/puppet/puppetd.log server = uaha.unixarena.com use_srv_records = false srv_domain = ignoreschedules = false default_schedules = true noop = false runinterval = 1800 ca_server = uaha.unixarena.com ca_port = 8140 preferred_serialization_format = pson agent_catalog_run_lockfile = /opt/puppetlabs/puppet/cache/state/agent_catalog_run.lock agent_disabled_lockfile = /opt/puppetlabs/puppet/cache/state/agent_disabled.lock usecacheonfailure = true use_cached_catalog = false ignoremissingtypes = false ignorecache = false splaylimit = 1800 splay = false clientbucketdir = /opt/puppetlabs/puppet/cache/clientbucket configtimeout = 120 report_server = uaha.unixarena.com report_port = 8140 report = true lastrunfile = /opt/puppetlabs/puppet/cache/state/last_run_summary.yaml lastrunreport = /opt/puppetlabs/puppet/cache/state/last_run_report.yaml graph = false graphdir = /opt/puppetlabs/puppet/cache/state/graphs waitforcert = 120 ordering = manifest archive_files = true archive_file_server = uaha.unixarena.com plugindest = /opt/puppetlabs/puppet/cache/lib pluginsource = puppet:///plugins pluginfactdest = /opt/puppetlabs/puppet/cache/facts.d pluginfactsource = puppet:///pluginfacts pluginsync = true pluginsignore = .svn CVS .git factpath = /opt/puppetlabs/puppet/cache/lib/facter:/opt/puppetlabs/puppet/cache/facts tags = evaltrace = false summarize = false external_nodes = none ldapssl = false ldaptls = false ldapserver = ldap ldapport = 389 ldapstring = (&(objectclass=puppetClient)(cn=%s)) ldapclassattrs = puppetclass ldapstackedattrs = puppetvar ldapattrs = all ldapparentattr = parentnode ldapuser = ldappassword = ldapbase = storeconfigs = true storeconfigs_backend = puppetdb max_errors = 10 max_warnings = 10 max_deprecations = 10 strict_variables = false document_all = false [root@UA-HA environments]#
3. Let’s create a new environment .
[root@UA-HA environments]# mkdir -p testing/mainfests [root@UA-HA environments]# [root@UA-HA environments]# ls -ld testing/ drwxr-xr-x 3 root root 22 Feb 10 17:26 testing/ [root@UA-HA environments]#
4. To verify the settings.
[root@UA-HA environments]# puppet config print --section master --environment testing cfacter = false confdir = /etc/puppetlabs/puppet codedir = /etc/puppetlabs/code vardir = /opt/puppetlabs/puppet/cache name = config logdir = /var/log/puppetlabs/puppet log_level = notice disable_warnings = [] priority = trace = false profile = false autoflush = true syslogfacility = daemon statedir = /opt/puppetlabs/puppet/cache/state rundir = /var/run/puppetlabs genconfig = false genmanifest = false configprint = color = ansi mkusers = false manage_internal_file_permissions = true onetime = false path = none libdir = /opt/puppetlabs/puppet/cache/lib environment = testing environmentpath = /etc/puppetlabs/code/environments always_cache_features = true diff_args = -u diff = diff show_diff = false daemonize = true maximum_uid = 4294967290 route_file = /etc/puppetlabs/puppet/routes.yaml node_terminus = classifier node_cache_terminus = data_binding_terminus = hiera hiera_config = /etc/puppetlabs/code/hiera.yaml binder_config = catalog_terminus = compiler catalog_cache_terminus = facts_terminus = facter default_file_terminus = rest http_proxy_host = none http_proxy_port = 3128 http_proxy_user = none http_proxy_password = none http_keepalive_timeout = 4 http_debug = false http_connect_timeout = 120 http_read_timeout = filetimeout = 15 environment_timeout = 0 environment_data_provider = none prerun_command = postrun_command = freeze_main = false trusted_server_facts = false preview_outputdir = /opt/puppetlabs/puppet/cache/preview app_management = true module_repository = https://forgeapi.puppetlabs.com module_working_dir = /opt/puppetlabs/puppet/cache/puppet-module module_skeleton_dir = /opt/puppetlabs/puppet/cache/puppet-module/skeleton forge_authorization = module_groups = base+pe_only certname = uaha.unixarena.com dns_alt_names = csr_attributes = /etc/puppetlabs/puppet/csr_attributes.yaml certdir = /etc/puppetlabs/puppet/ssl/certs ssldir = /etc/puppetlabs/puppet/ssl publickeydir = /etc/puppetlabs/puppet/ssl/public_keys requestdir = /etc/puppetlabs/puppet/ssl/certificate_requests privatekeydir = /etc/puppetlabs/puppet/ssl/private_keys privatedir = /etc/puppetlabs/puppet/ssl/private passfile = /etc/puppetlabs/puppet/ssl/private/password hostcsr = /etc/puppetlabs/puppet/ssl/csr_uaha.unixarena.com.pem hostcert = /etc/puppetlabs/puppet/ssl/certs/uaha.unixarena.com.pem hostprivkey = /etc/puppetlabs/puppet/ssl/private_keys/uaha.unixarena.com.pem hostpubkey = /etc/puppetlabs/puppet/ssl/public_keys/uaha.unixarena.com.pem localcacert = /etc/puppetlabs/puppet/ssl/certs/ca.pem ssl_client_ca_auth = ssl_server_ca_auth = hostcrl = /etc/puppetlabs/puppet/ssl/crl.pem certificate_revocation = false digest_algorithm = md5 ca_name = Puppet CA: uaha.unixarena.com cadir = /etc/puppetlabs/puppet/ssl/ca cacert = /etc/puppetlabs/puppet/ssl/ca/ca_crt.pem cakey = /etc/puppetlabs/puppet/ssl/ca/ca_key.pem capub = /etc/puppetlabs/puppet/ssl/ca/ca_pub.pem cacrl = /etc/puppetlabs/puppet/ssl/ca/ca_crl.pem caprivatedir = /etc/puppetlabs/puppet/ssl/ca/private csrdir = /etc/puppetlabs/puppet/ssl/ca/requests signeddir = /etc/puppetlabs/puppet/ssl/ca/signed capass = /etc/puppetlabs/puppet/ssl/ca/private/ca.pass serial = /etc/puppetlabs/puppet/ssl/ca/serial autosign = /etc/puppetlabs/puppet/autosign.conf allow_duplicate_certs = false ca_ttl = 157680000 req_bits = 4096 keylength = 4096 cert_inventory = /etc/puppetlabs/puppet/ssl/ca/inventory.txt config_file_name = puppet.conf config = /etc/puppetlabs/puppet/puppet.conf pidfile = /var/run/puppetlabs/master.pid bindaddress = 0.0.0.0 manifest = /etc/puppetlabs/code/environments/testing/manifests modulepath = /etc/puppetlabs/code/environments/testing/modules:/etc/puppetlabs/code/modules:/opt/puppetlabs/puppet/modules config_version = user = pe-puppet group = pe-puppet default_manifest = ./manifests disable_per_environment_manifest = false code = masterhttplog = /var/log/puppetlabs/puppet/masterhttp.log masterport = 8140 node_name = cert bucketdir = /opt/puppetlabs/puppet/cache/bucket rest_authconfig = /etc/puppetlabs/puppet/auth.conf ca = true trusted_oid_mapping_file = /etc/puppetlabs/puppet/custom_trusted_oid_mapping.yaml basemodulepath = /etc/puppetlabs/code/modules:/opt/puppetlabs/puppet/modules ssl_client_header = HTTP_X_CLIENT_DN ssl_client_verify_header = HTTP_X_CLIENT_VERIFY yamldir = /opt/puppetlabs/puppet/cache/yaml server_datadir = /opt/puppetlabs/puppet/cache/server_data reports = puppetdb reportdir = /opt/puppetlabs/puppet/cache/reports reporturl = http://localhost:3000/reports/upload fileserverconfig = /etc/puppetlabs/puppet/fileserver.conf strict_hostname_checking = false devicedir = /opt/puppetlabs/puppet/cache/devices deviceconfig = /etc/puppetlabs/puppet/device.conf node_name_value = uaha.unixarena.com node_name_fact = statefile = /opt/puppetlabs/puppet/cache/state/state.yaml clientyamldir = /opt/puppetlabs/puppet/cache/client_yaml client_datadir = /opt/puppetlabs/puppet/cache/client_data classfile = /opt/puppetlabs/puppet/cache/state/classes.txt resourcefile = /opt/puppetlabs/puppet/cache/state/resources.txt puppetdlog = /var/log/puppetlabs/puppet/puppetd.log server = uaha.unixarena.com use_srv_records = false srv_domain = ignoreschedules = false default_schedules = true noop = false runinterval = 1800 ca_server = uaha.unixarena.com ca_port = 8140 preferred_serialization_format = pson agent_catalog_run_lockfile = /opt/puppetlabs/puppet/cache/state/agent_catalog_run.lock agent_disabled_lockfile = /opt/puppetlabs/puppet/cache/state/agent_disabled.lock usecacheonfailure = true use_cached_catalog = false ignoremissingtypes = false ignorecache = false splaylimit = 1800 splay = false clientbucketdir = /opt/puppetlabs/puppet/cache/clientbucket configtimeout = 120 report_server = uaha.unixarena.com report_port = 8140 report = true lastrunfile = /opt/puppetlabs/puppet/cache/state/last_run_summary.yaml lastrunreport = /opt/puppetlabs/puppet/cache/state/last_run_report.yaml graph = false graphdir = /opt/puppetlabs/puppet/cache/state/graphs waitforcert = 120 ordering = manifest archive_files = true archive_file_server = uaha.unixarena.com plugindest = /opt/puppetlabs/puppet/cache/lib pluginsource = puppet:///plugins pluginfactdest = /opt/puppetlabs/puppet/cache/facts.d pluginfactsource = puppet:///pluginfacts pluginsync = true pluginsignore = .svn CVS .git factpath = /opt/puppetlabs/puppet/cache/lib/facter:/opt/puppetlabs/puppet/cache/facts tags = evaltrace = false summarize = false external_nodes = none ldapssl = false ldaptls = false ldapserver = ldap ldapport = 389 ldapstring = (&(objectclass=puppetClient)(cn=%s)) ldapclassattrs = puppetclass ldapstackedattrs = puppetvar ldapattrs = all ldapparentattr = parentnode ldapuser = ldappassword = ldapbase = storeconfigs = true storeconfigs_backend = puppetdb max_errors = 10 max_warnings = 10 max_deprecations = 10 strict_variables = false document_all = false [root@UA-HA environments]#
We have successfully created new environment called “testing”
Hope this article is informative to you . Share it ! Comment it !! Be Sociable !!!
Leave a Reply