Duain Christensen
2012-Feb-09 19:53 UTC
[Puppet Users] Puppet master can not find file_metadata for my puppet module
Hello, I am running a puppet master version 2.7.5 on Centos 5.7 and a puppet agent version 2.7.5. I am simply trying to apply changes to files by defining a file resource in my manifest. When I execute my puppet agent to do the installation it complains it can not find the file meta data. Here is my manifest. class neospeech::config { file { "/usr/vwmrcpd/vwmrcpd/vwmrcpd": owner => root, group => root, mode => 755, source => "puppet:///modules/neospeech/vmwrcpd", require => Class["neospeech::install"], } file { "/usr/vwmrcpd/ini/vwmrcpsrv.ini": owner => root, group => root, mode => 644, source => "puppet:///modules/neospeech/vmwrcpsrv.ini", require => Class["neospeech::install"], } exec { "service neospeech start": path => "/sbin:/bin:/usr/bin:/usr/sbin", command => "service neospeech start", subscribe => File["/usr/vwmrcpd/vwmrcpd/vwmrcpd"], refreshonly => true, require => Class["neospeech::install"], } } here is my directory structure under my puppet modules directory [root@puppet neospeech]# pwd /etc/puppet/modules/neospeech [root@puppet neospeech]# ls -lR .: total 8 drwxr-xr-x 2 puppet puppet 4096 Feb 9 12:47 files drwxr-xr-x 2 puppet puppet 4096 Feb 9 13:49 manifests ./files: total 1160 -rw-r--r-- 1 puppet puppet 768 Feb 9 12:46 neospeech.init.d -rwxr-xr-x 1 puppet puppet 1172424 Dec 21 10:51 vwmrcpd -rw-r--r-- 1 puppet puppet 4070 Jan 12 17:26 vwmrcpsrv.ini ./manifests: total 16 -rw-r--r-- 1 puppet puppet 740 Feb 9 13:24 config.pp -rw-r--r-- 1 puppet puppet 80 Jan 12 17:25 init.pp -rw-r--r-- 1 puppet puppet 2809 Feb 9 12:18 install.pp -rw-r--r-- 1 puppet puppet 2793 Jan 12 17:03 save.orig Here is the debug output from my puppet agent run [root@node12 ~]# puppet agent --debug --test debug: Failed to load library ''shadow'' for feature ''libshadow'' debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/ dscl does not exist debug: Puppet::Type::User::ProviderLdap: true value when expecting false debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist debug: Failed to load library ''rubygems'' for feature ''rubygems'' debug: Failed to load library ''selinux'' for feature ''selinux'' debug: Puppet::Type::File::ProviderMicrosoft_windows: feature microsoft_windows is missing debug: Failed to load library ''ldap'' for feature ''ldap'' debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/ssl/certs/node12.localdomain.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring File[/ var/lib/puppet/state] debug: /File[/var/lib/puppet/state/resources.txt]: Autorequiring File[/ var/lib/puppet/state] debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/ssl/private_keys/node12.localdomain.pem]: Autorequiring File[/var/lib/puppet/ssl/private_keys] debug: /File[/var/lib/puppet/state/last_run_report.yaml]: Autorequiring File[/var/lib/puppet/state] debug: /File[/var/lib/puppet/classes.txt]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/ lib/puppet/ssl] debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/ lib/puppet] debug: /File[/var/lib/puppet/client_data]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/ssl/public_keys/node12.localdomain.pem]: Autorequiring File[/var/lib/puppet/ssl/public_keys] debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet] debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/ var/lib/puppet/ssl] debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/ lib/puppet/state] debug: /File[/var/run/puppet/agent.pid]: Autorequiring File[/var/run/ puppet] debug: /File[/var/lib/puppet/state/last_run_summary.yaml]: Autorequiring File[/var/lib/puppet/state] debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/ var/lib/puppet/ssl/certs] debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring File[/var/lib/puppet/ssl] debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/ puppet/ssl] debug: Finishing transaction 23934315968580 debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/ lib/puppet/ssl] debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/ var/lib/puppet/ssl/certs] debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/var/lib/puppet/ssl/private_keys/node12.localdomain.pem]: Autorequiring File[/var/lib/puppet/ssl/private_keys] debug: /File[/var/lib/puppet/ssl/public_keys/node12.localdomain.pem]: Autorequiring File[/var/lib/puppet/ssl/public_keys] debug: /File[/var/lib/puppet/ssl/certs/node12.localdomain.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/ var/lib/puppet/ssl] debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring File[/var/lib/puppet/ssl] debug: Finishing transaction 23934313889260 debug: Using cached certificate for ca debug: Using cached certificate for node12.localdomain notice: Ignoring --listen on onetime run debug: Finishing transaction 23934316140460 debug: Loaded state in 0.00 seconds debug: catalog supports formats: b64_zlib_yaml dot marshal pson raw yaml; using pson debug: Using cached certificate for ca debug: Using cached certificate for node12.localdomain debug: Using cached certificate_revocation_list for ca debug: Puppet::Type::Package::ProviderRpm: Executing ''/bin/rpm -- version'' debug: Puppet::Type::Package::ProviderAptrpm: Executing ''/bin/rpm -ql rpm'' debug: Puppet::Type::Package::ProviderUrpmi: Executing ''/bin/rpm -ql rpm'' debug: Puppet::Type::Package::ProviderYum: Executing ''/bin/rpm -- version'' /usr/lib/ruby/site_ruby/1.8/puppet/provider/package/msi.rb:50: warning: parenthesize argument(s) for future version info: Caching catalog for node12.localdomain debug: Puppet::Type::Package::ProviderAptitude: file /usr/bin/aptitude does not exist debug: Puppet::Type::Package::ProviderFink: file /sw/bin/fink does not exist debug: Puppet::Type::Package::ProviderUrpmi: file urpmi does not exist debug: Puppet::Type::Package::ProviderFreebsd: file /usr/sbin/pkg_info does not exist debug: Puppet::Type::Package::ProviderOpenbsd: file pkg_info does not exist debug: Puppet::Type::Package::ProviderRug: file /usr/bin/rug does not exist debug: Puppet::Type::Package::ProviderHpux: file /usr/sbin/swinstall does not exist debug: Puppet::Type::Package::ProviderPorts: file /usr/local/sbin/ portupgrade does not exist debug: Puppet::Type::Package::ProviderPortage: file /usr/bin/emerge does not exist debug: Puppet::Type::Package::ProviderPkg: file /usr/bin/pkg does not exist debug: Puppet::Type::Package::ProviderApt: file /usr/bin/apt-get does not exist debug: Puppet::Type::Package::ProviderAix: file /usr/bin/lslpp does not exist debug: Puppet::Type::Package::ProviderUp2date: file /usr/sbin/up2date- nox does not exist debug: Puppet::Type::Package::ProviderGem: file gem does not exist debug: Puppet::Type::Package::ProviderPortupgrade: file /usr/local/ sbin/portinstall does not exist debug: Puppet::Type::Package::ProviderZypper: file /usr/bin/zypper does not exist debug: Puppet::Type::Package::ProviderDpkg: file /usr/bin/dpkg does not exist debug: Puppet::Type::Package::ProviderAptrpm: file apt-get does not exist debug: Puppet::Type::Package::ProviderNim: file /usr/sbin/nimclient does not exist debug: Puppet::Type::Package::ProviderPacman: file /usr/bin/pacman does not exist debug: Puppet::Type::Package::ProviderSun: file /usr/bin/pkginfo does not exist debug: Puppet::Type::Package::ProviderSunfreeware: file pkg-get does not exist debug: Puppet::Type::Exec::ProviderWindows: feature microsoft_windows is missing debug: Puppet::Type::Service::ProviderRunit: file /usr/bin/sv does not exist debug: Puppet::Type::Service::ProviderSystemd: file /bin/systemctl does not exist debug: Puppet::Type::Service::ProviderLaunchd: file /bin/launchctl does not exist debug: Puppet::Type::Service::ProviderDebian: file /usr/sbin/update- rc.d does not exist debug: Puppet::Type::Service::ProviderGentoo: file /sbin/rc-update does not exist debug: Puppet::Type::Service::ProviderDaemontools: file /usr/bin/svc does not exist debug: Creating default schedules debug: Loaded state in 0.01 seconds debug: Prefetching yum resources for package debug: Puppet::Type::Package::ProviderYum: Executing ''/bin/rpm -- version'' debug: Puppet::Type::Package::ProviderYum: Executing ''/bin/rpm -qa -- nosignature --nodigest --qf ''%{NAME} %|EPOCH?{%{EPOCH}}:{0}| % {VERSION} %{RELEASE} %{ARCH} '''' debug: Puppet::Type::Package::ProviderYum: Executing ''/usr/bin/python / usr/lib/ruby/site_ruby/1.8/puppet/provider/package/yumhelper.py'' info: Applying configuration version ''1328815803'' debug: /Stage[main]/Ldap::Config/Exec[authconfig]/require: requires Class[Ldap::Install] debug: /Stage[main]/Ldap::Config/Exec[authconfig]/subscribe: subscribes to Package[pam] debug: /Stage[main]/Ldap::Config/Exec[authconfig]/subscribe: subscribes to Package[authconfig] debug: /Stage[main]/Ldap::Config/Exec[authconfig]/subscribe: subscribes to File[/etc/openldap/cacerts/cacert.pem] debug: /Stage[main]/Repos/File[/etc/yum.repos.d/CentOS-Vault.repo]/ require: requires File[/etc/yum.repos.d/CentOS-Debuginfo.repo] debug: /Stage[rvm-install]/before: requires Stage[main] debug: /Stage[main]/Neospeech::Config/Exec[service neospeech start]/ require: requires Class[Neospeech::Install] debug: /Stage[main]/Neospeech::Config/Exec[service neospeech start]/ subscribe: subscribes to File[/usr/vwmrcpd/vwmrcpd/vwmrcpd] debug: /Stage[main]/Neospeech::Install/Exec[umount /root/ neospeech_install]/require: requires Exec[yes | /root/ neospeech_install/vwmrcpserver10_setup.bin] debug: /Stage[main]/Puppet/File[/etc/puppet/auth.conf]/require: requires Package[puppet] debug: /Stage[main]/Puppet/Service[puppet]/subscribe: subscribes to Package[puppet] debug: /Stage[main]/Neospeech::Config/File[/usr/vwmrcpd/vwmrcpd/ vwmrcpd]/require: requires Class[Neospeech::Install] debug: /Stage[main]/Neospeech::Config/File[/usr/vwmrcpd/ini/ vwmrcpsrv.ini]/require: requires Class[Neospeech::Install] debug: /Stage[main]/Repos/File[/etc/yum.repos.d/epel.repo]/require: requires File[/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL] debug: /Stage[main]/Neospeech::Install/Exec[yes | /root/ neospeech_install/vwmrcpserver10_setup.bin]/require: requires Exec[yes | /root/neospeech_install/julie_m08_setup_engine.bin] debug: /Stage[main]/Ldap::Config/File[/etc/security/access.conf]/ require: requires Package[pam] debug: /Stage[main]/Ldap::Config/File[/etc/security/access.conf]/ require: requires Class[Ldap::Install] debug: /Stage[main]/Ldap::Config/File[/etc/ldap.conf]/require: requires Package[nss_ldap] debug: /Stage[main]/Ldap::Config/File[/etc/ldap.conf]/require: requires Class[Ldap::Install] debug: /Stage[main]/Ldap::Config/File[/etc/openldap/cacerts/ cacert.pem]/require: requires Package[openldap] debug: /Stage[main]/Ldap::Config/File[/etc/openldap/cacerts/ cacert.pem]/require: requires Class[Ldap::Install] debug: /Stage[main]/Repos/File[/etc/yum.repos.d/epel-testing.repo]/ require: requires File[/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL] debug: /Stage[main]/Puppet/File[/etc/puppet/puppet.conf]/require: requires Package[puppet] debug: /Stage[main]/Neospeech::Install/Exec[mount monitor1:/exports/ neospeech /root/neospeech_install]/require: requires File[/root/ neospeech_install] debug: /Stage[main]/Neospeech::Install/Exec[chkconfig --add neospeech]/ require: requires File[/etc/init.d/neospeech] debug: /Stage[main]/Neospeech::Install/Exec[yes | /root/ neospeech_install/julie_m08_setup_engine.bin]/require: requires Exec[yes | /root/neospeech_install/paul_m08_setup_engine.bin] debug: /Stage[main]/Sudo/File[/etc/sudoers]/require: requires Package[sudo] debug: /Stage[main]/Repos/File[/etc/yum.repos.d/CentOS-Media.repo]/ require: requires File[/etc/yum.repos.d/CentOS-Debuginfo.repo] debug: /Stage[main]/Neospeech::Install/File[/root/neospeech_install]/ require: requires Package[nfs-utils] debug: /Stage[rvm-install]/Rvm::Dependencies/require: requires Class[Rvm::Dependencies::Centos] debug: /Stage[main]/Neospeech::Install/Exec[yes | /root/ neospeech_install/kate_m08_setup_engine.bin]/require: requires Exec[mount monitor1:/exports/neospeech /root/neospeech_install] debug: /Stage[main]/Repos/Package[git]/require: requires Yumrepo[ibp] debug: /Stage[main]/Neospeech::Install/Exec[yes | /root/ neospeech_install/paul_m08_setup_engine.bin]/require: requires Exec[yes | /root/neospeech_install/kate_m08_setup_engine.bin] debug: /Stage[rvm-install]/Rvm::System/Exec[system-rvm]/require: requires Class[Rvm::Dependencies] debug: /Stage[main]/Repos/Yumrepo[ibp]/require: requires File[/etc/pki/ rpm-gpg/RPM-GPG-KEY-ifbyphone.com] debug: /Stage[main]/Ldap::Config/File[/etc/openldap/ldap.conf]/ require: requires Package[openldap] debug: /Stage[main]/Ldap::Config/File[/etc/openldap/ldap.conf]/ require: requires Class[Ldap::Install] debug: /Stage[main]/Neospeech::Install/Exec[yes | /root/ neospeech_install/vwmrcpserver10_setup.bin]: Autorequiring File[/root/ neospeech_install] debug: /Stage[main]/Neospeech::Install/Exec[yes | /root/ neospeech_install/julie_m08_setup_engine.bin]: Autorequiring File[/ root/neospeech_install] debug: /Stage[main]/Neospeech::Install/Exec[yes | /root/ neospeech_install/kate_m08_setup_engine.bin]: Autorequiring File[/root/ neospeech_install] debug: /Stage[main]/Neospeech::Install/Exec[yes | /root/ neospeech_install/paul_m08_setup_engine.bin]: Autorequiring File[/root/ neospeech_install] debug: /Schedule[never]: Skipping device resources because running on a host debug: /Schedule[daily]: Skipping device resources because running on a host debug: /Schedule[monthly]: Skipping device resources because running on a host debug: /Schedule[puppet]: Skipping device resources because running on a host debug: /Schedule[hourly]: Skipping device resources because running on a host debug: /Schedule[weekly]: Skipping device resources because running on a host debug: Service[puppet](provider=redhat): Executing ''/sbin/service puppet status'' debug: Puppet::Type::Service::ProviderRedhat: Executing ''/sbin/ chkconfig puppet'' debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson debug: Exec[chkconfig --add neospeech](provider=posix): Executing check ''chkconfig --list | grep neospeech'' debug: Executing ''chkconfig --list | grep neospeech'' notice: Warning, using DEFAULT config notice: /Stage[main]//Node[default]/Notify[Warning, using DEFAULT config]/message: defined ''message'' as ''Warning, using DEFAULT config'' debug: /Stage[main]//Node[default]/Notify[Warning, using DEFAULT config]: The container Node[default] will propagate my refresh event debug: Node[default]: The container Class[Main] will propagate my refresh event debug: Class[Main]: The container Stage[main] will propagate my refresh event debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson debug: Exec[mount monitor1:/exports/neospeech /root/neospeech_install] (provider=posix): Executing check ''mount | grep neospeech > /dev/null 2>&1'' debug: Executing ''mount | grep neospeech > /dev/null 2>&1'' debug: Exec[mount monitor1:/exports/neospeech /root/neospeech_install] (provider=posix): Executing ''mount monitor1:/exports/neospeech /root/ neospeech_install'' debug: Executing ''mount monitor1:/exports/neospeech /root/ neospeech_install'' notice: /Stage[main]/Neospeech::Install/Exec[mount monitor1:/exports/ neospeech /root/neospeech_install]/returns: executed successfully debug: /Stage[main]/Neospeech::Install/Exec[mount monitor1:/exports/ neospeech /root/neospeech_install]: The container Class[Neospeech::Install] will propagate my refresh event debug: Exec[umount /root/neospeech_install](provider=posix): Executing ''umount /root/neospeech_install'' debug: Executing ''umount /root/neospeech_install'' notice: /Stage[main]/Neospeech::Install/Exec[umount /root/ neospeech_install]/returns: executed successfully debug: /Stage[main]/Neospeech::Install/Exec[umount /root/ neospeech_install]: The container Class[Neospeech::Install] will propagate my refresh event debug: Class[Neospeech::Install]: The container Stage[main] will propagate my refresh event debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson err: /Stage[main]/Neospeech::Config/File[/usr/vwmrcpd/vwmrcpd/ vwmrcpd]: Could not evaluate: Could not retrieve information from environment production source(s) puppet:///modules/neospeech/vmwrcpd at /etc/puppet/modules/neospeech/manifests/config.pp:12 notice: /Stage[main]/Neospeech::Config/Exec[service neospeech start]: Dependency File[/usr/vwmrcpd/vwmrcpd/vwmrcpd] has failures: true warning: /Stage[main]/Neospeech::Config/Exec[service neospeech start]: Skipping because of failed dependencies debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson err: /Stage[main]/Neospeech::Config/File[/usr/vwmrcpd/ini/ vwmrcpsrv.ini]: Could not evaluate: Could not retrieve information from environment production source(s) puppet:///modules/neospeech/vmwrcpsrv.ini at /etc/puppet/modules/neospeech/manifests/config.pp:20 debug: Finishing transaction 23934291187220 debug: Storing state debug: Stored state in 0.04 seconds notice: Finished catalog run in 10.67 seconds debug: Value of ''preferred_serialization_format'' (pson) is invalid for report, using default (marshal) debug: report supports formats: b64_zlib_yaml marshal raw yaml; using marshal [root@node12 ~]# Here is the output from my pupet master running in debug mode [root@puppet manifests]# puppet master --no-daemonize --debug debug: Failed to load library ''shadow'' for feature ''libshadow'' debug: Puppet::Type::User::ProviderLdap: true value when expecting false debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/ dscl does not exist debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::User::ProviderUser_role_add: file rolemod does not exist debug: Failed to load library ''selinux'' for feature ''selinux'' debug: Puppet::Type::File::ProviderMicrosoft_windows: feature microsoft_windows is missing debug: Failed to load library ''ldap'' for feature ''ldap'' debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/ puppet] debug: /File[/etc/puppet/manifests]: Autorequiring File[/etc/puppet] debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/var/lib/puppet/ssl/certs/puppet.localdomain.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/ var/lib/puppet/ssl] debug: /File[/var/lib/puppet/server_data]: Autorequiring File[/var/lib/ puppet] debug: /File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet] debug: /File[/var/lib/puppet/yaml]: Autorequiring File[/var/lib/ puppet] debug: /File[/etc/puppet/auth.conf]: Autorequiring File[/etc/puppet] debug: /File[/var/lib/puppet/ssl/public_keys/puppet.localdomain.pem]: Autorequiring File[/var/lib/puppet/ssl/public_keys] debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring File[/var/lib/puppet/ssl] debug: /File[/etc/puppet/manifests/site.pp]: Autorequiring File[/etc/ puppet/manifests] debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/reports]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/ssl/private_keys/puppet.localdomain.pem]: Autorequiring File[/var/lib/puppet/ssl/private_keys] debug: /File[/etc/puppet/fileserver.conf]: Autorequiring File[/etc/ puppet] debug: /File[/var/lib/puppet/bucket]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/rrd]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/ lib/puppet/ssl] debug: /File[/var/log/puppet/masterhttp.log]: Autorequiring File[/var/ log/puppet] debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/ var/lib/puppet/ssl/certs] debug: Finishing transaction 23940624940940 debug: /File[/var/lib/puppet/ssl/ca/ca_key.pem]: Autorequiring File[/ var/lib/puppet/ssl/ca] debug: /File[/var/lib/puppet/ssl/ca/ca_crt.pem]: Autorequiring File[/ var/lib/puppet/ssl/ca] debug: /File[/var/lib/puppet/ssl/ca/private]: Autorequiring File[/var/ lib/puppet/ssl/ca] debug: /File[/var/lib/puppet/ssl/ca/private/ca.pass]: Autorequiring File[/var/lib/puppet/ssl/ca/private] debug: /File[/var/lib/puppet/ssl/ca/serial]: Autorequiring File[/var/ lib/puppet/ssl/ca] debug: /File[/var/lib/puppet/ssl/ca/inventory.txt]: Autorequiring File[/var/lib/puppet/ssl/ca] debug: /File[/var/lib/puppet/ssl/ca/ca_pub.pem]: Autorequiring File[/ var/lib/puppet/ssl/ca] debug: /File[/var/lib/puppet/ssl/ca/signed]: Autorequiring File[/var/ lib/puppet/ssl/ca] debug: /File[/var/lib/puppet/ssl/ca/requests]: Autorequiring File[/var/ lib/puppet/ssl/ca] debug: /File[/var/lib/puppet/ssl/ca/ca_crl.pem]: Autorequiring File[/ var/lib/puppet/ssl/ca] debug: Finishing transaction 23940623237760 debug: Using cached certificate for ca debug: Using cached certificate for ca debug: Using cached certificate for puppet.localdomain notice: Starting Puppet master version 2.7.5 info: mount[files]: allowing *.localdomain access info: mount[files]: allowing 192.168.0.0/16 access info: mount[files]: allowing * access info: mount[dist]: allowing * access warning: The ''modules'' module can not have a path. Ignoring attempt to set it info: mount[modules]: allowing * access debug: No plugins mount given; autocreating with default permissions debug: Finishing transaction 23940623661000 info: access[^/catalog/([^/]+)$]: allowing ''method'' find info: access[^/catalog/([^/]+)$]: allowing $1 access info: access[^/node/([^/]+)$]: allowing ''method'' find info: access[^/node/([^/]+)$]: allowing $1 access info: access[/certificate_revocation_list/ca]: allowing ''method'' find info: access[/certificate_revocation_list/ca]: allowing * access info: access[/report]: allowing ''method'' save info: access[/report]: allowing * access info: access[/file]: allowing * access info: access[/certificate/ca]: adding authentication no info: access[/certificate/ca]: allowing ''method'' find info: access[/certificate/ca]: allowing * access info: access[/certificate/]: adding authentication no info: access[/certificate/]: allowing ''method'' find info: access[/certificate/]: allowing * access info: access[/certificate_request]: adding authentication no info: access[/certificate_request]: allowing ''method'' find info: access[/certificate_request]: allowing ''method'' save info: access[/certificate_request]: allowing * access info: access[/run]: adding authentication any info: access[/run]: allowing ''method'' save info: access[/run]: allowing * access info: access[/]: adding authentication any info: Inserting default ''/status''(auth) ACL because none were found in ''/etc/puppet/auth.conf'' info: Expiring the node cache of node12.localdomain info: Not using expired node for node12.localdomain from cache; expired at Thu Feb 09 13:52:28 -0600 2012 info: Caching node for node12.localdomain debug: importing ''/etc/puppet/manifests/modules.pp'' in environment production debug: importing ''/etc/puppet/manifests/nodes.pp'' in environment production debug: importing ''/etc/puppet/modules/rvm/manifests/init.pp'' in environment production debug: importing ''/etc/puppet/modules/rvm/manifests/classes/passenger- gem.pp'' in environment production debug: importing ''/etc/puppet/modules/rvm/manifests/classes/ dependencies-ubuntu.pp'' in environment production debug: importing ''/etc/puppet/modules/rvm/manifests/classes/ passenger.pp'' in environment production debug: importing ''/etc/puppet/modules/rvm/manifests/classes/system.pp'' in environment production warning: Deprecation notice: must now include ''$'' in prototype on line 1 in file /etc/puppet/modules/rvm/manifests/classes/system.pp debug: importing ''/etc/puppet/modules/rvm/manifests/classes/passenger- ubuntu-pre.pp'' in environment production debug: importing ''/etc/puppet/modules/rvm/manifests/classes/passenger- ubuntu-post.pp'' in environment production debug: importing ''/etc/puppet/modules/rvm/manifests/classes/passenger- centos-post.pp'' in environment production debug: importing ''/etc/puppet/modules/rvm/manifests/classes/ dependencies-centos.pp'' in environment production debug: importing ''/etc/puppet/modules/rvm/manifests/classes/ dependencies.pp'' in environment production debug: importing ''/etc/puppet/modules/rvm/manifests/classes/passenger- centos-pre.pp'' in environment production warning: stage is a metaparam; this value will inherit to all contained resources debug: importing ''/etc/puppet/modules/rvm/manifests/definitions/ system_user.pp'' in environment production debug: importing ''/etc/puppet/modules/ldap/manifests/init.pp'' in environment production debug: Automatically imported ldap from ldap into production debug: importing ''/etc/puppet/modules/ldap/manifests/install.pp'' in environment production debug: Automatically imported ldap::install from ldap/install into production debug: Puppet::Type::Package::ProviderRpm: Executing ''/bin/rpm -- version'' debug: Puppet::Type::Package::ProviderUrpmi: Executing ''/bin/rpm -ql rpm'' debug: Puppet::Type::Package::ProviderAptrpm: Executing ''/bin/rpm -ql rpm'' debug: Puppet::Type::Package::ProviderYum: Executing ''/bin/rpm -- version'' debug: importing ''/etc/puppet/modules/ldap/manifests/config.pp'' in environment production debug: Automatically imported ldap::config from ldap/config into production debug: importing ''/etc/puppet/modules/sudo/manifests/init.pp'' in environment production debug: Automatically imported sudo from sudo into production debug: importing ''/etc/puppet/modules/repos/manifests/init.pp'' in environment production debug: Automatically imported repos from repos into production debug: importing ''/etc/puppet/modules/puppet/manifests/init.pp'' in environment production debug: Automatically imported puppet from puppet into production debug: importing ''/etc/puppet/modules/neospeech/manifests/init.pp'' in environment production debug: Automatically imported neospeech from neospeech into production debug: importing ''/etc/puppet/modules/neospeech/manifests/install.pp'' in environment production debug: Automatically imported neospeech::install from neospeech/ install into production debug: importing ''/etc/puppet/modules/neospeech/manifests/config.pp'' in environment production debug: Automatically imported neospeech::config from neospeech/config into production debug: File[/etc/ldap.conf]: Adding default for backup debug: File[/etc/openldap/ldap.conf]: Adding default for backup debug: File[/etc/security/access.conf]: Adding default for backup debug: File[/etc/openldap/cacerts/cacert.pem]: Adding default for backup debug: File[/etc/sudoers]: Adding default for backup debug: File[/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL]: Adding default for backup debug: File[/etc/yum.repos.d/epel.repo]: Adding default for backup debug: File[/etc/yum.repos.d/epel-testing.repo]: Adding default for backup debug: File[/etc/yum.repos.d/CentOS-Debuginfo.repo]: Adding default for backup debug: File[/etc/yum.repos.d/CentOS-Media.repo]: Adding default for backup debug: File[/etc/yum.repos.d/CentOS-Vault.repo]: Adding default for backup debug: File[/etc/pki/rpm-gpg/RPM-GPG-KEY-ifbyphone.com]: Adding default for backup debug: File[/etc/yum.repos.d/CentOS-Base.repo]: Adding default for backup debug: File[/etc/puppet/puppet.conf]: Adding default for backup debug: File[/etc/puppet/auth.conf]: Adding default for backup debug: File[/etc/init.d/neospeech]: Adding default for backup debug: File[/root/neospeech_install]: Adding default for backup debug: Exec[umount /root/neospeech_install]: Adding default for path debug: File[/usr/vwmrcpd/vwmrcpd/vwmrcpd]: Adding default for backup debug: File[/usr/vwmrcpd/ini/vwmrcpsrv.ini]: Adding default for backup notice: Compiled catalog for node12.localdomain in environment production in 2.99 seconds info: mount[files]: allowing *.localdomain access info: mount[files]: allowing 192.168.0.0/16 access info: mount[files]: allowing * access info: mount[dist]: allowing * access warning: The ''modules'' module can not have a path. Ignoring attempt to set it info: mount[modules]: allowing * access info: Could not find file_metadata for ''modules/neospeech/vmwrcpd'' info: Could not find file_metadata for ''modules/neospeech/ vmwrcpsrv.ini'' debug: Recieved report to process from node12.localdomain debug: Processing report from node12.localdomain with processor Puppet::Reports::Store I''ve checked file permissions on my puppet master and I do not see any issues. Also I have other modules doing the same thing as far as defining files and they work okay. I''m not sure why puppet can not locate my files on my puppet master. If any one can shed some light on this problem I would appreciate the help. Thanks, Duain -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Denmat
2012-Feb-09 21:14 UTC
Re: [Puppet Users] Puppet master can not find file_metadata for my puppet module
Hi, You''ve got a typo for your source name. puppet:///modules/neospeech/vmwrcpd at /etc/puppet/modules/neospeech/manifests/config.pp:12 notice:> -rwxr-xr-x 1 puppet puppet 1172424 Dec 21 10:51 vwmrcpd> "puppet:///modules/neospeech/vmwrcpdCheers Den On 10/02/2012, at 6:53, Duain Christensen <duain.christensen@gmail.com> wrote:> Hello, > > I am running a puppet master version 2.7.5 on Centos 5.7 and a puppet > agent version 2.7.5. I am simply trying to apply changes to files by > defining a file resource in my manifest. When I execute my puppet > agent to do the installation it complains it can not find the file > meta data. > > Here is my manifest. > > > class neospeech::config { > > file { "/usr/vwmrcpd/vwmrcpd/vwmrcpd": > owner => root, > group => root, > mode => 755, > source => "puppet:///modules/neospeech/vmwrcpd", > require => Class["neospeech::install"], > } > > file { "/usr/vwmrcpd/ini/vwmrcpsrv.ini": > owner => root, > group => root, > mode => 644, > source => "puppet:///modules/neospeech/vmwrcpsrv.ini", > require => Class["neospeech::install"], > } > > exec { "service neospeech start": > path => "/sbin:/bin:/usr/bin:/usr/sbin", > command => "service neospeech start", > subscribe => File["/usr/vwmrcpd/vwmrcpd/vwmrcpd"], > refreshonly => true, > require => Class["neospeech::install"], > } > > } > > here is my directory structure under my puppet modules directory > > > [root@puppet neospeech]# pwd > /etc/puppet/modules/neospeech > > > [root@puppet neospeech]# ls -lR > .: > total 8 > drwxr-xr-x 2 puppet puppet 4096 Feb 9 12:47 files > drwxr-xr-x 2 puppet puppet 4096 Feb 9 13:49 manifests > > ./files: > total 1160 > -rw-r--r-- 1 puppet puppet 768 Feb 9 12:46 neospeech.init.d > -rwxr-xr-x 1 puppet puppet 1172424 Dec 21 10:51 vwmrcpd > -rw-r--r-- 1 puppet puppet 4070 Jan 12 17:26 vwmrcpsrv.ini > > ./manifests: > total 16 > -rw-r--r-- 1 puppet puppet 740 Feb 9 13:24 config.pp > -rw-r--r-- 1 puppet puppet 80 Jan 12 17:25 init.pp > -rw-r--r-- 1 puppet puppet 2809 Feb 9 12:18 install.pp > -rw-r--r-- 1 puppet puppet 2793 Jan 12 17:03 save.orig > > > Here is the debug output from my puppet agent run > > [root@node12 ~]# puppet agent --debug --test > debug: Failed to load library ''shadow'' for feature ''libshadow'' > debug: Puppet::Type::User::ProviderPw: file pw does not exist > debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/ > dscl does not exist > debug: Puppet::Type::User::ProviderLdap: true value when expecting > false > debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does > not exist > debug: Failed to load library ''rubygems'' for feature ''rubygems'' > debug: Failed to load library ''selinux'' for feature ''selinux'' > debug: Puppet::Type::File::ProviderMicrosoft_windows: feature > microsoft_windows is missing > debug: Failed to load library ''ldap'' for feature ''ldap'' > debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet] > debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/ > puppet] > debug: /File[/var/lib/puppet/ssl/certs/node12.localdomain.pem]: > Autorequiring File[/var/lib/puppet/ssl/certs] > debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring File[/ > var/lib/puppet/state] > debug: /File[/var/lib/puppet/state/resources.txt]: Autorequiring File[/ > var/lib/puppet/state] > debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/ > puppet] > debug: /File[/var/lib/puppet/ssl/private_keys/node12.localdomain.pem]: > Autorequiring File[/var/lib/puppet/ssl/private_keys] > debug: /File[/var/lib/puppet/state/last_run_report.yaml]: > Autorequiring File[/var/lib/puppet/state] > debug: /File[/var/lib/puppet/classes.txt]: Autorequiring File[/var/lib/ > puppet] > debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/ > lib/puppet/ssl] > debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] > debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/ > lib/puppet] > debug: /File[/var/lib/puppet/client_data]: Autorequiring File[/var/lib/ > puppet] > debug: /File[/var/lib/puppet/ssl/public_keys/node12.localdomain.pem]: > Autorequiring File[/var/lib/puppet/ssl/public_keys] > debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring File[/var/lib/ > puppet/ssl] > debug: /File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet] > debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/ > var/lib/puppet/ssl] > debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/ > puppet/ssl] > debug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/ > lib/puppet/state] > debug: /File[/var/run/puppet/agent.pid]: Autorequiring File[/var/run/ > puppet] > debug: /File[/var/lib/puppet/state/last_run_summary.yaml]: > Autorequiring File[/var/lib/puppet/state] > debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/ > puppet] > debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/ > var/lib/puppet/ssl/certs] > debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring > File[/var/lib/puppet/ssl] > debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/ > puppet/ssl] > debug: Finishing transaction 23934315968580 > debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/ > lib/puppet/ssl] > debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] > debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/ > var/lib/puppet/ssl/certs] > debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring File[/var/lib/ > puppet/ssl] > debug: /File[/var/lib/puppet/ssl/private_keys/node12.localdomain.pem]: > Autorequiring File[/var/lib/puppet/ssl/private_keys] > debug: /File[/var/lib/puppet/ssl/public_keys/node12.localdomain.pem]: > Autorequiring File[/var/lib/puppet/ssl/public_keys] > debug: /File[/var/lib/puppet/ssl/certs/node12.localdomain.pem]: > Autorequiring File[/var/lib/puppet/ssl/certs] > debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/ > var/lib/puppet/ssl] > debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet] > debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/ > puppet/ssl] > debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/ > puppet] > debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/ > puppet/ssl] > debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/ > puppet] > debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring > File[/var/lib/puppet/ssl] > debug: Finishing transaction 23934313889260 > debug: Using cached certificate for ca > debug: Using cached certificate for node12.localdomain > notice: Ignoring --listen on onetime run > debug: Finishing transaction 23934316140460 > debug: Loaded state in 0.00 seconds > debug: catalog supports formats: b64_zlib_yaml dot marshal pson raw > yaml; using pson > debug: Using cached certificate for ca > debug: Using cached certificate for node12.localdomain > debug: Using cached certificate_revocation_list for ca > debug: Puppet::Type::Package::ProviderRpm: Executing ''/bin/rpm -- > version'' > debug: Puppet::Type::Package::ProviderAptrpm: Executing ''/bin/rpm -ql > rpm'' > debug: Puppet::Type::Package::ProviderUrpmi: Executing ''/bin/rpm -ql > rpm'' > debug: Puppet::Type::Package::ProviderYum: Executing ''/bin/rpm -- > version'' > /usr/lib/ruby/site_ruby/1.8/puppet/provider/package/msi.rb:50: > warning: parenthesize argument(s) for future version > info: Caching catalog for node12.localdomain > debug: Puppet::Type::Package::ProviderAptitude: file /usr/bin/aptitude > does not exist > debug: Puppet::Type::Package::ProviderFink: file /sw/bin/fink does not > exist > debug: Puppet::Type::Package::ProviderUrpmi: file urpmi does not exist > debug: Puppet::Type::Package::ProviderFreebsd: file /usr/sbin/pkg_info > does not exist > debug: Puppet::Type::Package::ProviderOpenbsd: file pkg_info does not > exist > debug: Puppet::Type::Package::ProviderRug: file /usr/bin/rug does not > exist > debug: Puppet::Type::Package::ProviderHpux: file /usr/sbin/swinstall > does not exist > debug: Puppet::Type::Package::ProviderPorts: file /usr/local/sbin/ > portupgrade does not exist > debug: Puppet::Type::Package::ProviderPortage: file /usr/bin/emerge > does not exist > debug: Puppet::Type::Package::ProviderPkg: file /usr/bin/pkg does not > exist > debug: Puppet::Type::Package::ProviderApt: file /usr/bin/apt-get does > not exist > debug: Puppet::Type::Package::ProviderAix: file /usr/bin/lslpp does > not exist > debug: Puppet::Type::Package::ProviderUp2date: file /usr/sbin/up2date- > nox does not exist > debug: Puppet::Type::Package::ProviderGem: file gem does not exist > debug: Puppet::Type::Package::ProviderPortupgrade: file /usr/local/ > sbin/portinstall does not exist > debug: Puppet::Type::Package::ProviderZypper: file /usr/bin/zypper > does not exist > debug: Puppet::Type::Package::ProviderDpkg: file /usr/bin/dpkg does > not exist > debug: Puppet::Type::Package::ProviderAptrpm: file apt-get does not > exist > debug: Puppet::Type::Package::ProviderNim: file /usr/sbin/nimclient > does not exist > debug: Puppet::Type::Package::ProviderPacman: file /usr/bin/pacman > does not exist > debug: Puppet::Type::Package::ProviderSun: file /usr/bin/pkginfo does > not exist > debug: Puppet::Type::Package::ProviderSunfreeware: file pkg-get does > not exist > debug: Puppet::Type::Exec::ProviderWindows: feature microsoft_windows > is missing > debug: Puppet::Type::Service::ProviderRunit: file /usr/bin/sv does not > exist > debug: Puppet::Type::Service::ProviderSystemd: file /bin/systemctl > does not exist > debug: Puppet::Type::Service::ProviderLaunchd: file /bin/launchctl > does not exist > debug: Puppet::Type::Service::ProviderDebian: file /usr/sbin/update- > rc.d does not exist > debug: Puppet::Type::Service::ProviderGentoo: file /sbin/rc-update > does not exist > debug: Puppet::Type::Service::ProviderDaemontools: file /usr/bin/svc > does not exist > debug: Creating default schedules > debug: Loaded state in 0.01 seconds > debug: Prefetching yum resources for package > debug: Puppet::Type::Package::ProviderYum: Executing ''/bin/rpm -- > version'' > debug: Puppet::Type::Package::ProviderYum: Executing ''/bin/rpm -qa -- > nosignature --nodigest --qf ''%{NAME} %|EPOCH?{%{EPOCH}}:{0}| % > {VERSION} %{RELEASE} %{ARCH} > '''' > debug: Puppet::Type::Package::ProviderYum: Executing ''/usr/bin/python / > usr/lib/ruby/site_ruby/1.8/puppet/provider/package/yumhelper.py'' > info: Applying configuration version ''1328815803'' > debug: /Stage[main]/Ldap::Config/Exec[authconfig]/require: requires > Class[Ldap::Install] > debug: /Stage[main]/Ldap::Config/Exec[authconfig]/subscribe: > subscribes to Package[pam] > debug: /Stage[main]/Ldap::Config/Exec[authconfig]/subscribe: > subscribes to Package[authconfig] > debug: /Stage[main]/Ldap::Config/Exec[authconfig]/subscribe: > subscribes to File[/etc/openldap/cacerts/cacert.pem] > debug: /Stage[main]/Repos/File[/etc/yum.repos.d/CentOS-Vault.repo]/ > require: requires File[/etc/yum.repos.d/CentOS-Debuginfo.repo] > debug: /Stage[rvm-install]/before: requires Stage[main] > debug: /Stage[main]/Neospeech::Config/Exec[service neospeech start]/ > require: requires Class[Neospeech::Install] > debug: /Stage[main]/Neospeech::Config/Exec[service neospeech start]/ > subscribe: subscribes to File[/usr/vwmrcpd/vwmrcpd/vwmrcpd] > debug: /Stage[main]/Neospeech::Install/Exec[umount /root/ > neospeech_install]/require: requires Exec[yes | /root/ > neospeech_install/vwmrcpserver10_setup.bin] > debug: /Stage[main]/Puppet/File[/etc/puppet/auth.conf]/require: > requires Package[puppet] > debug: /Stage[main]/Puppet/Service[puppet]/subscribe: subscribes to > Package[puppet] > debug: /Stage[main]/Neospeech::Config/File[/usr/vwmrcpd/vwmrcpd/ > vwmrcpd]/require: requires Class[Neospeech::Install] > debug: /Stage[main]/Neospeech::Config/File[/usr/vwmrcpd/ini/ > vwmrcpsrv.ini]/require: requires Class[Neospeech::Install] > debug: /Stage[main]/Repos/File[/etc/yum.repos.d/epel.repo]/require: > requires File[/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL] > debug: /Stage[main]/Neospeech::Install/Exec[yes | /root/ > neospeech_install/vwmrcpserver10_setup.bin]/require: requires Exec[yes > | /root/neospeech_install/julie_m08_setup_engine.bin] > debug: /Stage[main]/Ldap::Config/File[/etc/security/access.conf]/ > require: requires Package[pam] > debug: /Stage[main]/Ldap::Config/File[/etc/security/access.conf]/ > require: requires Class[Ldap::Install] > debug: /Stage[main]/Ldap::Config/File[/etc/ldap.conf]/require: > requires Package[nss_ldap] > debug: /Stage[main]/Ldap::Config/File[/etc/ldap.conf]/require: > requires Class[Ldap::Install] > debug: /Stage[main]/Ldap::Config/File[/etc/openldap/cacerts/ > cacert.pem]/require: requires Package[openldap] > debug: /Stage[main]/Ldap::Config/File[/etc/openldap/cacerts/ > cacert.pem]/require: requires Class[Ldap::Install] > debug: /Stage[main]/Repos/File[/etc/yum.repos.d/epel-testing.repo]/ > require: requires File[/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL] > debug: /Stage[main]/Puppet/File[/etc/puppet/puppet.conf]/require: > requires Package[puppet] > debug: /Stage[main]/Neospeech::Install/Exec[mount monitor1:/exports/ > neospeech /root/neospeech_install]/require: requires File[/root/ > neospeech_install] > debug: /Stage[main]/Neospeech::Install/Exec[chkconfig --add neospeech]/ > require: requires File[/etc/init.d/neospeech] > debug: /Stage[main]/Neospeech::Install/Exec[yes | /root/ > neospeech_install/julie_m08_setup_engine.bin]/require: requires > Exec[yes | /root/neospeech_install/paul_m08_setup_engine.bin] > debug: /Stage[main]/Sudo/File[/etc/sudoers]/require: requires > Package[sudo] > debug: /Stage[main]/Repos/File[/etc/yum.repos.d/CentOS-Media.repo]/ > require: requires File[/etc/yum.repos.d/CentOS-Debuginfo.repo] > debug: /Stage[main]/Neospeech::Install/File[/root/neospeech_install]/ > require: requires Package[nfs-utils] > debug: /Stage[rvm-install]/Rvm::Dependencies/require: requires > Class[Rvm::Dependencies::Centos] > debug: /Stage[main]/Neospeech::Install/Exec[yes | /root/ > neospeech_install/kate_m08_setup_engine.bin]/require: requires > Exec[mount monitor1:/exports/neospeech /root/neospeech_install] > debug: /Stage[main]/Repos/Package[git]/require: requires Yumrepo[ibp] > debug: /Stage[main]/Neospeech::Install/Exec[yes | /root/ > neospeech_install/paul_m08_setup_engine.bin]/require: requires > Exec[yes | /root/neospeech_install/kate_m08_setup_engine.bin] > debug: /Stage[rvm-install]/Rvm::System/Exec[system-rvm]/require: > requires Class[Rvm::Dependencies] > debug: /Stage[main]/Repos/Yumrepo[ibp]/require: requires File[/etc/pki/ > rpm-gpg/RPM-GPG-KEY-ifbyphone.com] > debug: /Stage[main]/Ldap::Config/File[/etc/openldap/ldap.conf]/ > require: requires Package[openldap] > debug: /Stage[main]/Ldap::Config/File[/etc/openldap/ldap.conf]/ > require: requires Class[Ldap::Install] > debug: /Stage[main]/Neospeech::Install/Exec[yes | /root/ > neospeech_install/vwmrcpserver10_setup.bin]: Autorequiring File[/root/ > neospeech_install] > debug: /Stage[main]/Neospeech::Install/Exec[yes | /root/ > neospeech_install/julie_m08_setup_engine.bin]: Autorequiring File[/ > root/neospeech_install] > debug: /Stage[main]/Neospeech::Install/Exec[yes | /root/ > neospeech_install/kate_m08_setup_engine.bin]: Autorequiring File[/root/ > neospeech_install] > debug: /Stage[main]/Neospeech::Install/Exec[yes | /root/ > neospeech_install/paul_m08_setup_engine.bin]: Autorequiring File[/root/ > neospeech_install] > debug: /Schedule[never]: Skipping device resources because running on > a host > debug: /Schedule[daily]: Skipping device resources because running on > a host > debug: /Schedule[monthly]: Skipping device resources because running > on a host > debug: /Schedule[puppet]: Skipping device resources because running on > a host > debug: /Schedule[hourly]: Skipping device resources because running on > a host > debug: /Schedule[weekly]: Skipping device resources because running on > a host > debug: Service[puppet](provider=redhat): Executing ''/sbin/service > puppet status'' > debug: Puppet::Type::Service::ProviderRedhat: Executing ''/sbin/ > chkconfig puppet'' > debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw > yaml; using pson > debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw > yaml; using pson > debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw > yaml; using pson > debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw > yaml; using pson > debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw > yaml; using pson > debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw > yaml; using pson > debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw > yaml; using pson > debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw > yaml; using pson > debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw > yaml; using pson > debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw > yaml; using pson > debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw > yaml; using pson > debug: Exec[chkconfig --add neospeech](provider=posix): Executing > check ''chkconfig --list | grep neospeech'' > debug: Executing ''chkconfig --list | grep neospeech'' > notice: Warning, using DEFAULT config > notice: /Stage[main]//Node[default]/Notify[Warning, using DEFAULT > config]/message: defined ''message'' as ''Warning, using DEFAULT config'' > debug: /Stage[main]//Node[default]/Notify[Warning, using DEFAULT > config]: The container Node[default] will propagate my refresh event > debug: Node[default]: The container Class[Main] will propagate my > refresh event > debug: Class[Main]: The container Stage[main] will propagate my > refresh event > debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw > yaml; using pson > debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw > yaml; using pson > debug: Exec[mount monitor1:/exports/neospeech /root/neospeech_install] > (provider=posix): Executing check ''mount | grep neospeech > /dev/null > 2>&1'' > debug: Executing ''mount | grep neospeech > /dev/null 2>&1'' > debug: Exec[mount monitor1:/exports/neospeech /root/neospeech_install] > (provider=posix): Executing ''mount monitor1:/exports/neospeech /root/ > neospeech_install'' > debug: Executing ''mount monitor1:/exports/neospeech /root/ > neospeech_install'' > notice: /Stage[main]/Neospeech::Install/Exec[mount monitor1:/exports/ > neospeech /root/neospeech_install]/returns: executed successfully > debug: /Stage[main]/Neospeech::Install/Exec[mount monitor1:/exports/ > neospeech /root/neospeech_install]: The container > Class[Neospeech::Install] will propagate my refresh event > debug: Exec[umount /root/neospeech_install](provider=posix): Executing > ''umount /root/neospeech_install'' > debug: Executing ''umount /root/neospeech_install'' > notice: /Stage[main]/Neospeech::Install/Exec[umount /root/ > neospeech_install]/returns: executed successfully > debug: /Stage[main]/Neospeech::Install/Exec[umount /root/ > neospeech_install]: The container Class[Neospeech::Install] will > propagate my refresh event > debug: Class[Neospeech::Install]: The container Stage[main] will > propagate my refresh event > debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw > yaml; using pson > err: /Stage[main]/Neospeech::Config/File[/usr/vwmrcpd/vwmrcpd/ > vwmrcpd]: Could not evaluate: Could not retrieve information from > environment production source(s) puppet:///modules/neospeech/vmwrcpd > at /etc/puppet/modules/neospeech/manifests/config.pp:12 > notice: /Stage[main]/Neospeech::Config/Exec[service neospeech start]: > Dependency File[/usr/vwmrcpd/vwmrcpd/vwmrcpd] has failures: true > warning: /Stage[main]/Neospeech::Config/Exec[service neospeech start]: > Skipping because of failed dependencies > debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw > yaml; using pson > err: /Stage[main]/Neospeech::Config/File[/usr/vwmrcpd/ini/ > vwmrcpsrv.ini]: Could not evaluate: Could not retrieve information > from environment production source(s) puppet:///modules/neospeech/vmwrcpsrv.ini > at /etc/puppet/modules/neospeech/manifests/config.pp:20 > debug: Finishing transaction 23934291187220 > debug: Storing state > debug: Stored state in 0.04 seconds > notice: Finished catalog run in 10.67 seconds > debug: Value of ''preferred_serialization_format'' (pson) is invalid for > report, using default (marshal) > debug: report supports formats: b64_zlib_yaml marshal raw yaml; using > marshal > [root@node12 ~]# > > > Here is the output from my pupet master running in debug mode > > > [root@puppet manifests]# puppet master --no-daemonize --debug > debug: Failed to load library ''shadow'' for feature ''libshadow'' > debug: Puppet::Type::User::ProviderLdap: true value when expecting > false > debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/ > dscl does not exist > debug: Puppet::Type::User::ProviderPw: file pw does not exist > debug: Puppet::Type::User::ProviderUser_role_add: file rolemod does > not exist > debug: Failed to load library ''selinux'' for feature ''selinux'' > debug: Puppet::Type::File::ProviderMicrosoft_windows: feature > microsoft_windows is missing > debug: Failed to load library ''ldap'' for feature ''ldap'' > debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/ > puppet] > debug: /File[/etc/puppet/manifests]: Autorequiring File[/etc/puppet] > debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/ > puppet/ssl] > debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring File[/var/lib/ > puppet/ssl] > debug: /File[/var/lib/puppet/ssl/certs/puppet.localdomain.pem]: > Autorequiring File[/var/lib/puppet/ssl/certs] > debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/ > puppet] > debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/ > puppet/ssl] > debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/ > var/lib/puppet/ssl] > debug: /File[/var/lib/puppet/server_data]: Autorequiring File[/var/lib/ > puppet] > debug: /File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet] > debug: /File[/var/lib/puppet/yaml]: Autorequiring File[/var/lib/ > puppet] > debug: /File[/etc/puppet/auth.conf]: Autorequiring File[/etc/puppet] > debug: /File[/var/lib/puppet/ssl/public_keys/puppet.localdomain.pem]: > Autorequiring File[/var/lib/puppet/ssl/public_keys] > debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring > File[/var/lib/puppet/ssl] > debug: /File[/etc/puppet/manifests/site.pp]: Autorequiring File[/etc/ > puppet/manifests] > debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] > debug: /File[/var/lib/puppet/reports]: Autorequiring File[/var/lib/ > puppet] > debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet] > debug: /File[/var/lib/puppet/ssl/private_keys/puppet.localdomain.pem]: > Autorequiring File[/var/lib/puppet/ssl/private_keys] > debug: /File[/etc/puppet/fileserver.conf]: Autorequiring File[/etc/ > puppet] > debug: /File[/var/lib/puppet/bucket]: Autorequiring File[/var/lib/ > puppet] > debug: /File[/var/lib/puppet/rrd]: Autorequiring File[/var/lib/puppet] > debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/ > lib/puppet/ssl] > debug: /File[/var/log/puppet/masterhttp.log]: Autorequiring File[/var/ > log/puppet] > debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/ > var/lib/puppet/ssl/certs] > debug: Finishing transaction 23940624940940 > debug: /File[/var/lib/puppet/ssl/ca/ca_key.pem]: Autorequiring File[/ > var/lib/puppet/ssl/ca] > debug: /File[/var/lib/puppet/ssl/ca/ca_crt.pem]: Autorequiring File[/ > var/lib/puppet/ssl/ca] > debug: /File[/var/lib/puppet/ssl/ca/private]: Autorequiring File[/var/ > lib/puppet/ssl/ca] > debug: /File[/var/lib/puppet/ssl/ca/private/ca.pass]: Autorequiring > File[/var/lib/puppet/ssl/ca/private] > debug: /File[/var/lib/puppet/ssl/ca/serial]: Autorequiring File[/var/ > lib/puppet/ssl/ca] > debug: /File[/var/lib/puppet/ssl/ca/inventory.txt]: Autorequiring > File[/var/lib/puppet/ssl/ca] > debug: /File[/var/lib/puppet/ssl/ca/ca_pub.pem]: Autorequiring File[/ > var/lib/puppet/ssl/ca] > debug: /File[/var/lib/puppet/ssl/ca/signed]: Autorequiring File[/var/ > lib/puppet/ssl/ca] > debug: /File[/var/lib/puppet/ssl/ca/requests]: Autorequiring File[/var/ > lib/puppet/ssl/ca] > debug: /File[/var/lib/puppet/ssl/ca/ca_crl.pem]: Autorequiring File[/ > var/lib/puppet/ssl/ca] > debug: Finishing transaction 23940623237760 > debug: Using cached certificate for ca > debug: Using cached certificate for ca > debug: Using cached certificate for puppet.localdomain > notice: Starting Puppet master version 2.7.5 > info: mount[files]: allowing *.localdomain access > info: mount[files]: allowing 192.168.0.0/16 access > info: mount[files]: allowing * access > info: mount[dist]: allowing * access > warning: The ''modules'' module can not have a path. Ignoring attempt to > set it > info: mount[modules]: allowing * access > debug: No plugins mount given; autocreating with default permissions > debug: Finishing transaction 23940623661000 > info: access[^/catalog/([^/]+)$]: allowing ''method'' find > info: access[^/catalog/([^/]+)$]: allowing $1 access > info: access[^/node/([^/]+)$]: allowing ''method'' find > info: access[^/node/([^/]+)$]: allowing $1 access > info: access[/certificate_revocation_list/ca]: allowing ''method'' find > info: access[/certificate_revocation_list/ca]: allowing * access > info: access[/report]: allowing ''method'' save > info: access[/report]: allowing * access > info: access[/file]: allowing * access > info: access[/certificate/ca]: adding authentication no > info: access[/certificate/ca]: allowing ''method'' find > info: access[/certificate/ca]: allowing * access > info: access[/certificate/]: adding authentication no > info: access[/certificate/]: allowing ''method'' find > info: access[/certificate/]: allowing * access > info: access[/certificate_request]: adding authentication no > info: access[/certificate_request]: allowing ''method'' find > info: access[/certificate_request]: allowing ''method'' save > info: access[/certificate_request]: allowing * access > info: access[/run]: adding authentication any > info: access[/run]: allowing ''method'' save > info: access[/run]: allowing * access > info: access[/]: adding authentication any > info: Inserting default ''/status''(auth) ACL because none were found in > ''/etc/puppet/auth.conf'' > info: Expiring the node cache of node12.localdomain > info: Not using expired node for node12.localdomain from cache; > expired at Thu Feb 09 13:52:28 -0600 2012 > info: Caching node for node12.localdomain > debug: importing ''/etc/puppet/manifests/modules.pp'' in environment > production > debug: importing ''/etc/puppet/manifests/nodes.pp'' in environment > production > debug: importing ''/etc/puppet/modules/rvm/manifests/init.pp'' in > environment production > debug: importing ''/etc/puppet/modules/rvm/manifests/classes/passenger- > gem.pp'' in environment production > debug: importing ''/etc/puppet/modules/rvm/manifests/classes/ > dependencies-ubuntu.pp'' in environment production > debug: importing ''/etc/puppet/modules/rvm/manifests/classes/ > passenger.pp'' in environment production > debug: importing ''/etc/puppet/modules/rvm/manifests/classes/system.pp'' > in environment production > warning: Deprecation notice: must now include ''$'' in prototype on line > 1 in file /etc/puppet/modules/rvm/manifests/classes/system.pp > debug: importing ''/etc/puppet/modules/rvm/manifests/classes/passenger- > ubuntu-pre.pp'' in environment production > debug: importing ''/etc/puppet/modules/rvm/manifests/classes/passenger- > ubuntu-post.pp'' in environment production > debug: importing ''/etc/puppet/modules/rvm/manifests/classes/passenger- > centos-post.pp'' in environment production > debug: importing ''/etc/puppet/modules/rvm/manifests/classes/ > dependencies-centos.pp'' in environment production > debug: importing ''/etc/puppet/modules/rvm/manifests/classes/ > dependencies.pp'' in environment production > debug: importing ''/etc/puppet/modules/rvm/manifests/classes/passenger- > centos-pre.pp'' in environment production > warning: stage is a metaparam; this value will inherit to all > contained resources > debug: importing ''/etc/puppet/modules/rvm/manifests/definitions/ > system_user.pp'' in environment production > debug: importing ''/etc/puppet/modules/ldap/manifests/init.pp'' in > environment production > debug: Automatically imported ldap from ldap into production > debug: importing ''/etc/puppet/modules/ldap/manifests/install.pp'' in > environment production > debug: Automatically imported ldap::install from ldap/install into > production > debug: Puppet::Type::Package::ProviderRpm: Executing ''/bin/rpm -- > version'' > debug: Puppet::Type::Package::ProviderUrpmi: Executing ''/bin/rpm -ql > rpm'' > debug: Puppet::Type::Package::ProviderAptrpm: Executing ''/bin/rpm -ql > rpm'' > debug: Puppet::Type::Package::ProviderYum: Executing ''/bin/rpm -- > version'' > debug: importing ''/etc/puppet/modules/ldap/manifests/config.pp'' in > environment production > debug: Automatically imported ldap::config from ldap/config into > production > debug: importing ''/etc/puppet/modules/sudo/manifests/init.pp'' in > environment production > debug: Automatically imported sudo from sudo into production > debug: importing ''/etc/puppet/modules/repos/manifests/init.pp'' in > environment production > debug: Automatically imported repos from repos into production > debug: importing ''/etc/puppet/modules/puppet/manifests/init.pp'' in > environment production > debug: Automatically imported puppet from puppet into production > debug: importing ''/etc/puppet/modules/neospeech/manifests/init.pp'' in > environment production > debug: Automatically imported neospeech from neospeech into production > debug: importing ''/etc/puppet/modules/neospeech/manifests/install.pp'' > in environment production > debug: Automatically imported neospeech::install from neospeech/ > install into production > debug: importing ''/etc/puppet/modules/neospeech/manifests/config.pp'' > in environment production > debug: Automatically imported neospeech::config from neospeech/config > into production > debug: File[/etc/ldap.conf]: Adding default for backup > debug: File[/etc/openldap/ldap.conf]: Adding default for backup > debug: File[/etc/security/access.conf]: Adding default for backup > debug: File[/etc/openldap/cacerts/cacert.pem]: Adding default for > backup > debug: File[/etc/sudoers]: Adding default for backup > debug: File[/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL]: Adding default for > backup > debug: File[/etc/yum.repos.d/epel.repo]: Adding default for backup > debug: File[/etc/yum.repos.d/epel-testing.repo]: Adding default for > backup > debug: File[/etc/yum.repos.d/CentOS-Debuginfo.repo]: Adding default > for backup > debug: File[/etc/yum.repos.d/CentOS-Media.repo]: Adding default for > backup > debug: File[/etc/yum.repos.d/CentOS-Vault.repo]: Adding default for > backup > debug: File[/etc/pki/rpm-gpg/RPM-GPG-KEY-ifbyphone.com]: Adding > default for backup > debug: File[/etc/yum.repos.d/CentOS-Base.repo]: Adding default for > backup > debug: File[/etc/puppet/puppet.conf]: Adding default for backup > debug: File[/etc/puppet/auth.conf]: Adding default for backup > debug: File[/etc/init.d/neospeech]: Adding default for backup > debug: File[/root/neospeech_install]: Adding default for backup > debug: Exec[umount /root/neospeech_install]: Adding default for path > debug: File[/usr/vwmrcpd/vwmrcpd/vwmrcpd]: Adding default for backup > debug: File[/usr/vwmrcpd/ini/vwmrcpsrv.ini]: Adding default for backup > notice: Compiled catalog for node12.localdomain in environment > production in 2.99 seconds > info: mount[files]: allowing *.localdomain access > info: mount[files]: allowing 192.168.0.0/16 access > info: mount[files]: allowing * access > info: mount[dist]: allowing * access > warning: The ''modules'' module can not have a path. Ignoring attempt to > set it > info: mount[modules]: allowing * access > info: Could not find file_metadata for ''modules/neospeech/vmwrcpd'' > info: Could not find file_metadata for ''modules/neospeech/ > vmwrcpsrv.ini'' > debug: Recieved report to process from node12.localdomain > debug: Processing report from node12.localdomain with processor > Puppet::Reports::Store > > > I''ve checked file permissions on my puppet master and I do not see any > issues. Also I have other modules doing the same thing as far as > defining files and they work okay. I''m not sure why puppet can not > locate my files on my puppet master. If any one can shed some light > on this problem I would appreciate the help. > > Thanks, > > Duain > > -- > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Duain Christensen
2012-Feb-09 22:38 UTC
[Puppet Users] Re: Puppet master can not find file_metadata for my puppet module
Thanks. That was my problem. On Feb 9, 3:14 pm, Denmat <tu2bg...@gmail.com> wrote:> Hi, > > You''ve got a typo for your source name. > > puppet:///modules/neospeech/vmwrcpd > at /etc/puppet/modules/neospeech/manifests/config.pp:12 > notice: > > > -rwxr-xr-x 1 puppet puppet 1172424 Dec 21 10:51 vwmrcpd > > "puppet:///modules/neospeech/vmwrcpd > > Cheers > Den > > On 10/02/2012, at 6:53, Duain Christensen <duain.christen...@gmail.com> wrote: > > > > > > > > > Hello, > > > I am running a puppet master version 2.7.5 on Centos 5.7 and a puppet > > agent version 2.7.5. I am simply trying to apply changes to files by > > defining a file resource in my manifest. When I execute my puppet > > agent to do the installation it complains it can not find the file > > meta data. > > > Here is my manifest. > > > class neospeech::config { > > > file { "/usr/vwmrcpd/vwmrcpd/vwmrcpd": > > owner => root, > > group => root, > > mode => 755, > > source => "puppet:///modules/neospeech/vmwrcpd", > > require => Class["neospeech::install"], > > } > > > file { "/usr/vwmrcpd/ini/vwmrcpsrv.ini": > > owner => root, > > group => root, > > mode => 644, > > source => "puppet:///modules/neospeech/vmwrcpsrv.ini", > > require => Class["neospeech::install"], > > } > > > exec { "service neospeech start": > > path => "/sbin:/bin:/usr/bin:/usr/sbin", > > command => "service neospeech start", > > subscribe => File["/usr/vwmrcpd/vwmrcpd/vwmrcpd"], > > refreshonly => true, > > require => Class["neospeech::install"], > > } > > > } > > > here is my directory structure under my puppet modules directory > > > [root@puppet neospeech]# pwd > > /etc/puppet/modules/neospeech > > > [root@puppet neospeech]# ls -lR > > .: > > total 8 > > drwxr-xr-x 2 puppet puppet 4096 Feb 9 12:47 files > > drwxr-xr-x 2 puppet puppet 4096 Feb 9 13:49 manifests > > > ./files: > > total 1160 > > -rw-r--r-- 1 puppet puppet 768 Feb 9 12:46 neospeech.init.d > > -rwxr-xr-x 1 puppet puppet 1172424 Dec 21 10:51 vwmrcpd > > -rw-r--r-- 1 puppet puppet 4070 Jan 12 17:26 vwmrcpsrv.ini > > > ./manifests: > > total 16 > > -rw-r--r-- 1 puppet puppet 740 Feb 9 13:24 config.pp > > -rw-r--r-- 1 puppet puppet 80 Jan 12 17:25 init.pp > > -rw-r--r-- 1 puppet puppet 2809 Feb 9 12:18 install.pp > > -rw-r--r-- 1 puppet puppet 2793 Jan 12 17:03 save.orig > > > Here is the debug output from my puppet agent run > > > [root@node12 ~]# puppet agent --debug --test > > debug: Failed to load library ''shadow'' for feature ''libshadow'' > > debug: Puppet::Type::User::ProviderPw: file pw does not exist > > debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/ > > dscl does not exist > > debug: Puppet::Type::User::ProviderLdap: true value when expecting > > false > > debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does > > not exist > > debug: Failed to load library ''rubygems'' for feature ''rubygems'' > > debug: Failed to load library ''selinux'' for feature ''selinux'' > > debug: Puppet::Type::File::ProviderMicrosoft_windows: feature > > microsoft_windows is missing > > debug: Failed to load library ''ldap'' for feature ''ldap'' > > debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet] > > debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/ > > puppet] > > debug: /File[/var/lib/puppet/ssl/certs/node12.localdomain.pem]: > > Autorequiring File[/var/lib/puppet/ssl/certs] > > debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring File[/ > > var/lib/puppet/state] > > debug: /File[/var/lib/puppet/state/resources.txt]: Autorequiring File[/ > > var/lib/puppet/state] > > debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/ > > puppet] > > debug: /File[/var/lib/puppet/ssl/private_keys/node12.localdomain.pem]: > > Autorequiring File[/var/lib/puppet/ssl/private_keys] > > debug: /File[/var/lib/puppet/state/last_run_report.yaml]: > > Autorequiring File[/var/lib/puppet/state] > > debug: /File[/var/lib/puppet/classes.txt]: Autorequiring File[/var/lib/ > > puppet] > > debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/ > > lib/puppet/ssl] > > debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] > > debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/ > > lib/puppet] > > debug: /File[/var/lib/puppet/client_data]: Autorequiring File[/var/lib/ > > puppet] > > debug: /File[/var/lib/puppet/ssl/public_keys/node12.localdomain.pem]: > > Autorequiring File[/var/lib/puppet/ssl/public_keys] > > debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring File[/var/lib/ > > puppet/ssl] > > debug: /File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet] > > debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/ > > var/lib/puppet/ssl] > > debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/ > > puppet/ssl] > > debug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/ > > lib/puppet/state] > > debug: /File[/var/run/puppet/agent.pid]: Autorequiring File[/var/run/ > > puppet] > > debug: /File[/var/lib/puppet/state/last_run_summary.yaml]: > > Autorequiring File[/var/lib/puppet/state] > > debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/ > > puppet] > > debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/ > > var/lib/puppet/ssl/certs] > > debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring > > File[/var/lib/puppet/ssl] > > debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/ > > puppet/ssl] > > debug: Finishing transaction 23934315968580 > > debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/ > > lib/puppet/ssl] > > debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] > > debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/ > > var/lib/puppet/ssl/certs] > > debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring File[/var/lib/ > > puppet/ssl] > > debug: /File[/var/lib/puppet/ssl/private_keys/node12.localdomain.pem]: > > Autorequiring File[/var/lib/puppet/ssl/private_keys] > > debug: /File[/var/lib/puppet/ssl/public_keys/node12.localdomain.pem]: > > Autorequiring File[/var/lib/puppet/ssl/public_keys] > > debug: /File[/var/lib/puppet/ssl/certs/node12.localdomain.pem]: > > Autorequiring File[/var/lib/puppet/ssl/certs] > > debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/ > > var/lib/puppet/ssl] > > debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet] > > debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/ > > puppet/ssl] > > debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/ > > puppet] > > debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/ > > puppet/ssl] > > debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/ > > puppet] > > debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring > > File[/var/lib/puppet/ssl] > > debug: Finishing transaction 23934313889260 > > debug: Using cached certificate for ca > > debug: Using cached certificate for node12.localdomain > > notice: Ignoring --listen on onetime run > > debug: Finishing transaction 23934316140460 > > debug: Loaded state in 0.00 seconds > > debug: catalog supports formats: b64_zlib_yaml dot marshal pson raw > > yaml; using pson > > debug: Using cached certificate for ca > > debug: Using cached certificate for node12.localdomain > > debug: Using cached certificate_revocation_list for ca > > debug: Puppet::Type::Package::ProviderRpm: Executing ''/bin/rpm -- > > version'' > > debug: Puppet::Type::Package::ProviderAptrpm: Executing ''/bin/rpm -ql > > rpm'' > > debug: Puppet::Type::Package::ProviderUrpmi: Executing ''/bin/rpm -ql > > rpm'' > > debug: Puppet::Type::Package::ProviderYum: Executing ''/bin/rpm -- > > version'' > > /usr/lib/ruby/site_ruby/1.8/puppet/provider/package/msi.rb:50: > > warning: parenthesize argument(s) for future version > > info: Caching catalog for node12.localdomain > > debug: Puppet::Type::Package::ProviderAptitude: file /usr/bin/aptitude > > does not exist > > debug: Puppet::Type::Package::ProviderFink: file /sw/bin/fink does not > > exist > > debug: Puppet::Type::Package::ProviderUrpmi: file urpmi does not exist > > debug: Puppet::Type::Package::ProviderFreebsd: file /usr/sbin/pkg_info > > does not exist > > debug: Puppet::Type::Package::ProviderOpenbsd: file pkg_info does not > > exist > > debug: Puppet::Type::Package::ProviderRug: file /usr/bin/rug does not > > exist > > debug: Puppet::Type::Package::ProviderHpux: file /usr/sbin/swinstall > > does not exist > > debug: Puppet::Type::Package::ProviderPorts: file /usr/local/sbin/ > > portupgrade does not exist > > debug: Puppet::Type::Package::ProviderPortage: file /usr/bin/emerge > > does not exist > > debug: Puppet::Type::Package::ProviderPkg: file /usr/bin/pkg does not > > exist > > debug: Puppet::Type::Package::ProviderApt: file /usr/bin/apt-get does > > not exist > > debug: Puppet::Type::Package::ProviderAix: file /usr/bin/lslpp does > > not exist > > debug: Puppet::Type::Package::ProviderUp2date: file /usr/sbin/up2date- > > nox does not exist > > debug: Puppet::Type::Package::ProviderGem: file gem does not exist > > debug: Puppet::Type::Package::ProviderPortupgrade: file /usr/local/ > > sbin/portinstall does not exist > > debug: Puppet::Type::Package::ProviderZypper: file /usr/bin/zypper > > does not exist > > debug: Puppet::Type::Package::ProviderDpkg: file /usr/bin/dpkg does > > not exist > > debug: Puppet::Type::Package::ProviderAptrpm: file apt-get does not > > exist > > debug: Puppet::Type::Package::ProviderNim: file /usr/sbin/nimclient > > does not exist > > debug: Puppet::Type::Package::ProviderPacman: file /usr/bin/pacman > > does not exist > > debug: Puppet::Type::Package::ProviderSun: file /usr/bin/pkginfo does > > not exist > > debug: Puppet::Type::Package::ProviderSunfreeware: file pkg-get does > > not exist > > debug: Puppet::Type::Exec::ProviderWindows: feature microsoft_windows > > is missing > > debug: Puppet::Type::Service::ProviderRunit: file /usr/bin/sv does not > > exist > > debug: Puppet::Type::Service::ProviderSystemd: file /bin/systemctl > > does not exist > > debug: Puppet::Type::Service::ProviderLaunchd: file /bin/launchctl > > does not exist > > debug: Puppet::Type::Service::ProviderDebian: file /usr/sbin/update- > > rc.d does not exist > > ... > > read more »-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Apparently Analagous Threads
- Next Problem: Puppet 2.7 + Passenger won't connect
- err: Could not run Puppet configuration client: execution expired
- retrieving module directory
- Configuration is not applied notice: Finished catalog run in 0.01 seconds
- Could not retrieve catalog from remote server: Error 400 on SERVER: cannot generate tempfile `/var/lib/puppet/yaml/facts/vagrant1.localdomain.yaml20131009-16545-8oie5i-9'