arildjensen / cis-puppet

Center for Internet Security Linux Benchmark implementation for PuppetLabs
Other
117 stars 62 forks source link

issues on /bin/cat: /var/log/control_f0002: No such file or directory #12

Closed supriyawishesu closed 10 years ago

supriyawishesu commented 10 years ago

Hi,

when I run your modules I am getting this error: /bin/cat: /var/log/control_f0002: No such file or directory /bin/cat: /var/log/control_f0002: No such file or directory /bin/cat: /var/log/control_f0003: No such file or directory /bin/cat: /var/log/control_f0003: No such file or directory

And .sh files are not placed /usr/local/sbin where the results stored?

Please let me know.

Appreciate your help.

Thank You

arildjensen commented 10 years ago

It's a known issue that this happens the first time the script is run. This should not happen on consecutive runs. Can you confirm that?

The shell scripts are stored in /usr/local/sbin, output is stored in files in /var/log.

supriyawishesu commented 10 years ago

Hi,

No the same issue is coming up and the shell scripts are not coming in /usr/local/sbin

What might me the problem?

Can You help me

On Wed, Mar 12, 2014 at 12:53 PM, Arild Jensen notifications@github.comwrote:

It's a known issue that this happens the first time the script is run. This should not happen on consecutive runs. Can you confirm that?

The shell scripts are stored in /usr/local/sbin, output is stored in files in /var/log.

Reply to this email directly or view it on GitHubhttps://github.com/arildjensen/cis-puppet/issues/12#issuecomment-37433289 .

arildjensen commented 10 years ago

Please provide me with the contents of the file /etc/redhat-release file. Thanks!

supriyawishesu commented 10 years ago

$cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.4 (Santiago)

On Wed, Mar 12, 2014 at 1:11 PM, Arild Jensen notifications@github.comwrote:

Please provide me with the contents of the file /etc/redhat-release file. Thanks!

Reply to this email directly or view it on GitHubhttps://github.com/arildjensen/cis-puppet/issues/12#issuecomment-37435744 .

arildjensen commented 10 years ago

Thanks. Can you provide the complete output when you apply the module? Also, please provide the output of the command ls -l /usr/local/sbin

supriyawishesu commented 10 years ago

The output when I run $puppet agent -t bash-4.1# /opt/puppet/bin/puppet parser validate init.pp bash-4.1# /opt/puppet/bin/puppet apply init.pp --debug Info: Loading facts in /etc/puppetlabs/puppet/development/modules/wls/lib/facter/oracle_middleware_homes.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/oradb/lib/facter/oracle_database_homes.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/orawls/lib/facter/orawls.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/nagios/lib/facter/nagios_hostgroups.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/nagios/lib/facter/nagios_membase.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/nagios/lib/facter/nagios.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/nagios/lib/facter/nagios_contactgroups.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/nagios/lib/facter/nagios_pci.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/nagios/lib/facter/nagios_http.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/nagios/lib/facter/nagios_mysqld.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/nagios/lib/facter/nagios_dns.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/nagios/lib/facter/nagios_moxi.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/nagios/lib/facter/nagios_couchbase.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0007.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0018.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0001.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0005.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0021.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0010.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0019.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0014.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0020.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0016.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0009.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0011.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0002.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0006.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0013.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0004.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0012.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0015.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0003.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0022.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0000.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0017.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0008.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/stdlib/lib/facter/facter_dot_d.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/stdlib/lib/facter/puppet_vardir.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/stdlib/lib/facter/root_home.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/stdlib/lib/facter/pe_version.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/staging_http_get.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/iptables_persistent_version.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/facter_dot_d.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_upgrade_extension.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/postgres_default_version.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/custom_auth_conf.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/iptables_version.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_upgrade_distro_version.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/root_home.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppetdb_server_status.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/concat_basedir.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppet_vardir.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/staging_windir.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/windows.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_version.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_upgrade_installer.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/ip6tables_version.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/oracle_middleware_homes.rb /bin/cat: /var/log/control_f0002: No such file or directory /bin/cat: /var/log/control_f0002: No such file or directory /bin/cat: /var/log/control_f0003: No such file or directory /bin/cat: /var/log/control_f0003: No such file or directory Debug: importing '/etc/puppetlabs/puppet/development/modules/cis/manifests/init.pp' in environment development Debug: Automatically imported cis from cis into development Notice: Compiled catalog for dot-pap-spr-d03.local in environment development in 0.20 seconds Debug: Creating default schedules Debug: Failed to load library 'selinux' for feature 'selinux' Debug: Using settings: adding file resource 'confdir': 'File[/etc/puppetlabs/puppet]{:path=>"/etc/puppetlabs/puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'vardir': 'File[/var/opt/lib/pe-puppet]{:path=>"/var/opt/lib/pe-puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist Debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dsimport does not exist Debug: Puppet::Type::User::ProviderLdap: true value when expecting false Debug: Puppet::Type::User::ProviderPw: file pw does not exist Debug: Puppet::Type::Group::ProviderDirectoryservice: file /usr/bin/dscl does not exist Debug: Puppet::Type::Group::ProviderLdap: true value when expecting false Debug: Puppet::Type::Group::ProviderPw: file pw does not exist Debug: Using settings: adding file resource 'logdir': 'File[/var/log/pe-puppet]{:path=>"/var/log/pe-puppet", :mode=>"750", :owner=>"pe-puppet", :group=>"pe-puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'statedir': 'File[/var/opt/lib/pe-puppet/state]{:path=>"/var/opt/lib/pe-puppet/state", :mode=>"1755", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'rundir': 'File[/var/run/pe-puppet]{:path=>"/var/run/pe-puppet", :mode=>"755", :owner=>"pe-puppet", :group=>"pe-puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'libdir': 'File[/var/opt/lib/pe-puppet/lib]{:path=>"/var/opt/lib/pe-puppet/lib", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'hiera_config': 'File[/etc/puppetlabs/puppet/hiera.yaml]{:path=>"/etc/puppetlabs/puppet/hiera.yaml", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'certdir': 'File[/etc/puppetlabs/puppet/ssl/certs]{:path=>"/etc/puppetlabs/puppet/ssl/certs", :owner=>"pe-puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'ssldir': 'File[/etc/puppetlabs/puppet/ssl]{:path=>"/etc/puppetlabs/puppet/ssl", :mode=>"771", :owner=>"pe-puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'publickeydir': 'File[/etc/puppetlabs/puppet/ssl/public_keys]{:path=>"/etc/puppetlabs/puppet/ssl/public_keys", :owner=>"pe-puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'requestdir': 'File[/etc/puppetlabs/puppet/ssl/certificate_requests]{:path=>"/etc/puppetlabs/puppet/ssl/certificate_requests", :owner=>"pe-puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'privatekeydir': 'File[/etc/puppetlabs/puppet/ssl/private_keys]{:path=>"/etc/puppetlabs/puppet/ssl/private_keys", :mode=>"750", :owner=>"pe-puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'privatedir': 'File[/etc/puppetlabs/puppet/ssl/private]{:path=>"/etc/puppetlabs/puppet/ssl/private", :mode=>"750", :owner=>"pe-puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'hostcert': 'File[/etc/puppetlabs/puppet/ssl/certs/dot-pap-spr-d03.local.pem]{:path=>"/etc/puppetlabs/puppet/ssl/certs/dot-pap-spr-d03.local.pem", :mode=>"644", :owner=>"pe-puppet", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'hostprivkey': 'File[/etc/puppetlabs/puppet/ssl/private_keys/dot-pap-spr-d03.local.pem]{:path=>"/etc/puppetlabs/puppet/ssl/private_keys/dot-pap-spr-d03.local.pem", :mode=>"600", :owner=>"pe-puppet", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'hostpubkey': 'File[/etc/puppetlabs/puppet/ssl/public_keys/dot-pap-spr-d03.local.pem]{:path=>"/etc/puppetlabs/puppet/ssl/public_keys/dot-pap-spr-d03.local.pem", :mode=>"644", :owner=>"pe-puppet", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'localcacert': 'File[/etc/puppetlabs/puppet/ssl/certs/ca.pem]{:path=>"/etc/puppetlabs/puppet/ssl/certs/ca.pem", :mode=>"644", :owner=>"pe-puppet", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'hostcrl': 'File[/etc/puppetlabs/puppet/ssl/crl.pem]{:path=>"/etc/puppetlabs/puppet/ssl/crl.pem", :mode=>"644", :owner=>"pe-puppet", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'statefile': 'File[/var/opt/lib/pe-puppet/state/state.yaml]{:path=>"/var/opt/lib/pe-puppet/state/state.yaml", :mode=>"660", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'clientyamldir': 'File[/var/opt/lib/pe-puppet/client_yaml]{:path=>"/var/opt/lib/pe-puppet/client_yaml", :mode=>"750", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'client_datadir': 'File[/var/opt/lib/pe-puppet/client_data]{:path=>"/var/opt/lib/pe-puppet/client_data", :mode=>"750", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'resourcefile': 'File[/var/opt/lib/pe-puppet/state/resources.txt]{:path=>"/var/opt/lib/pe-puppet/state/resources.txt", :mode=>"640", :owner=>"root", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'clientbucketdir': 'File[/var/opt/lib/pe-puppet/clientbucket]{:path=>"/var/opt/lib/pe-puppet/clientbucket", :mode=>"750", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'lastrunfile': 'File[/var/opt/lib/pe-puppet/state/last_run_summary.yaml]{:path=>"/var/opt/lib/pe-puppet/state/last_run_summary.yaml", :mode=>"644", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'lastrunreport': 'File[/var/opt/lib/pe-puppet/state/last_run_report.yaml]{:path=>"/var/opt/lib/pe-puppet/state/last_run_report.yaml", :mode=>"640", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'graphdir': 'File[/var/opt/lib/pe-puppet/state/graphs]{:path=>"/var/opt/lib/pe-puppet/state/graphs", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: /File[/var/opt/lib/pe-puppet/state]: Autorequiring File[/var/opt/lib/pe-puppet] Debug: /File[/var/opt/lib/pe-puppet/lib]: Autorequiring File[/var/opt/lib/pe-puppet] Debug: /File[/etc/puppetlabs/puppet/hiera.yaml]: Autorequiring File[/etc/puppetlabs/puppet] Debug: /File[/etc/puppetlabs/puppet/ssl/certs]: Autorequiring File[/etc/puppetlabs/puppet/ssl] Debug: /File[/etc/puppetlabs/puppet/ssl]: Autorequiring File[/etc/puppetlabs/puppet] Debug: /File[/etc/puppetlabs/puppet/ssl/public_keys]: Autorequiring File[/etc/puppetlabs/puppet/ssl] Debug: /File[/etc/puppetlabs/puppet/ssl/certificate_requests]: Autorequiring File[/etc/puppetlabs/puppet/ssl] Debug: /File[/etc/puppetlabs/puppet/ssl/private_keys]: Autorequiring File[/etc/puppetlabs/puppet/ssl] Debug: /File[/etc/puppetlabs/puppet/ssl/private]: Autorequiring File[/etc/puppetlabs/puppet/ssl] Debug: /File[/etc/puppetlabs/puppet/ssl/certs/dot-pap-spr-d03.local.pem]: Autorequiring File[/etc/puppetlabs/puppet/ssl/certs] Debug: /File[/etc/puppetlabs/puppet/ssl/private_keys/dot-pap-spr-d03.local.pem]: Autorequiring File[/etc/puppetlabs/puppet/ssl/private_keys] Debug: /File[/etc/puppetlabs/puppet/ssl/public_keys/dot-pap-spr-d03.local.pem]: Autorequiring File[/etc/puppetlabs/puppet/ssl/public_keys] Debug: /File[/etc/puppetlabs/puppet/ssl/certs/ca.pem]: Autorequiring File[/etc/puppetlabs/puppet/ssl/certs] Debug: /File[/etc/puppetlabs/puppet/ssl/crl.pem]: Autorequiring File[/etc/puppetlabs/puppet/ssl] Debug: /File[/var/opt/lib/pe-puppet/state/state.yaml]: Autorequiring File[/var/opt/lib/pe-puppet/state] Debug: /File[/var/opt/lib/pe-puppet/client_yaml]: Autorequiring File[/var/opt/lib/pe-puppet] Debug: /File[/var/opt/lib/pe-puppet/client_data]: Autorequiring File[/var/opt/lib/pe-puppet] Debug: /File[/var/opt/lib/pe-puppet/state/resources.txt]: Autorequiring File[/var/opt/lib/pe-puppet/state] Debug: /File[/var/opt/lib/pe-puppet/clientbucket]: Autorequiring File[/var/opt/lib/pe-puppet] Debug: /File[/var/opt/lib/pe-puppet/state/last_run_summary.yaml]: Autorequiring File[/var/opt/lib/pe-puppet/state] Debug: /File[/var/opt/lib/pe-puppet/state/last_run_report.yaml]: Autorequiring File[/var/opt/lib/pe-puppet/state] Debug: /File[/var/opt/lib/pe-puppet/state/graphs]: Autorequiring File[/var/opt/lib/pe-puppet/state] Debug: Finishing transaction 16883060 Debug: Loaded state in 0.13 seconds Info: Loading facts in /etc/puppetlabs/puppet/development/modules/wls/lib/facter/oracle_middleware_homes.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/oradb/lib/facter/oracle_database_homes.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/orawls/lib/facter/orawls.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/nagios/lib/facter/nagios_hostgroups.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/nagios/lib/facter/nagios_membase.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/nagios/lib/facter/nagios.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/nagios/lib/facter/nagios_contactgroups.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/nagios/lib/facter/nagios_pci.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/nagios/lib/facter/nagios_http.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/nagios/lib/facter/nagios_mysqld.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/nagios/lib/facter/nagios_dns.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/nagios/lib/facter/nagios_moxi.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/nagios/lib/facter/nagios_couchbase.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0007.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0018.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0001.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0005.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0021.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0010.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0019.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0014.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0020.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0016.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0009.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0011.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0002.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0006.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0013.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0004.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0012.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0015.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0003.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0022.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0000.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0017.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/cis/lib/facter/f0008.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/stdlib/lib/facter/facter_dot_d.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/stdlib/lib/facter/puppet_vardir.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/stdlib/lib/facter/root_home.rb Info: Loading facts in /etc/puppetlabs/puppet/development/modules/stdlib/lib/facter/pe_version.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/staging_http_get.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/iptables_persistent_version.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/facter_dot_d.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_upgrade_extension.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/postgres_default_version.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/custom_auth_conf.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/iptables_version.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_upgrade_distro_version.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/root_home.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppetdb_server_status.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/concat_basedir.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppet_vardir.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/staging_windir.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/windows.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_version.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_upgrade_installer.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/ip6tables_version.rb Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/oracle_middleware_homes.rb /bin/cat: /var/log/control_f0002: No such file or directory /bin/cat: /var/log/control_f0002: No such file or directory /bin/cat: /var/log/control_f0003: No such file or directory /bin/cat: /var/log/control_f0003: No such file or directory Debug: Loaded state in 0.31 seconds Info: Applying configuration version '1394643543' Debug: Finishing transaction 28018880 Debug: Storing state Debug: Stored state in 0.23 seconds Notice: Finished catalog run in 0.87 seconds Debug: Using settings: adding file resource 'rrddir': 'File[/var/opt/lib/pe-puppet/rrd]{:path=>"/var/opt/lib/pe-puppet/rrd", :mode=>"750", :owner=>"pe-puppet", :group=>"pe-puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Finishing transaction 26590480 Debug: Received report to process from dot-pap-spr-d03.local Debug: Processing report from dot-pap-spr-d03.local with processor Puppet::Reports::Store

The output for $ls -l /usr/local/sbin/ total 0

On Wed, Mar 12, 2014 at 1:20 PM, Arild Jensen notifications@github.comwrote:

Thanks. Can you provide the complete output when you apply the module? Also, please provide the output of the command ls -l /usr/local/sbin

Reply to this email directly or view it on GitHubhttps://github.com/arildjensen/cis-puppet/issues/12#issuecomment-37436959 .

arildjensen commented 10 years ago

Thanks. Please also post your init.pp.

supriyawishesu commented 10 years ago

Hi,

In init.pp include cis

On Wed, Mar 12, 2014 at 4:41 PM, Arild Jensen notifications@github.comwrote:

Thanks. Please also post your init.pp.

Reply to this email directly or view it on GitHubhttps://github.com/arildjensen/cis-puppet/issues/12#issuecomment-37461677 .

arildjensen commented 10 years ago

That's your problem. See the readme file. If you want to include all controls you will have to use include cis::el6all