Hello list!! I am having an issue sharing some files from a location in my apache modules location on the puppet server. It seems that some files are being served from a custom file sharing mount point, yet anything served from the apache module is not transferred to the client:
## error while sharing files other files are correctly shared info: Caching catalog for kromep1.ec2.internal info: //centos/Tidy[/etc/yum.repos.d/CentOS-Media.repo]: File does not exist info: //centos/Tidy[/etc/yum.repos.d/CentOS.repo]: File does not exist info: Applying configuration version '1299701506' notice: //basefiles/File[/etc/amanda/amanda-client.conf]/ensure: content changed '{md5}29564c9913a730874d3dedeb31eabada' to '{md5}29564c9913a730874d3dedeb31eabada' notice: //basefiles/File[/etc/hosts]/checksum: checksum changed '{md5}9241a4b1b4d59b8d5412a3d55bfc0ede' to '{md5}197f375e967ddf505edf4ac6bc09c435' notice: //basefiles/File[/etc/nsswitch.conf]/ensure: content changed '{md5}1a7b23a8dde067e7e563131d3d7ebd6f' to '{md5}1a7b23a8dde067e7e563131d3d7ebd6f' notice: //basefiles/File[/etc/ldap.conf]/ensure: content changed '{md5}7b97010628c1989ed914eff10a81b099' to '{md5}7b97010628c1989ed914eff10a81b099' err: //apache/File[/etc/httpd/conf/conf.d/proxy_ajp.conf]/ensure: change from absent to file failed: Could not set file on ensure: No such file or directory - /etc/httpd/conf/conf.d/proxy_ajp.conf.puppettmp_4126 at /etc/puppet/modules/apache/manifests/init.pp:69 err: //apache/File[/etc/httpd/conf/conf.d/php.conf]: Failed to retrieve current state of resource: Could not retrieve information from source(s) puppet:///apache/files/krome/httpd/conf.d/php.conf at /etc/puppet/modules/apache/manifests/init.pp:60 err: //apache/File[/etc/httpd/conf/conf.d/001-chrome-ssl.conf]/ensure: change from absent to file failed: Could not set file on ensure: No such file or directory - /etc/httpd/conf/conf.d/001-chrome-ssl.conf.puppettmp_6905 at /etc/puppet/modules/apache/manifests/init.pp:42 err: //apache/File[/etc/httpd/conf/conf.d/002-chrome.conf]/ensure: change from absent to file failed: Could not set file on ensure: No such file or directory - /etc/httpd/conf/conf.d/002-chrome.conf.puppettmp_2458 at /etc/puppet/modules/apache/manifests/init.pp:51 err: //apache/File[/etc/httpd/conf/conf.d/welcome.conf]/ensure: change from absent to file failed: Could not set file on ensure: No such file or directory - /etc/httpd/conf/conf.d/welcome.conf.puppettmp_3194 at /etc/puppet/modules/apache/manifests/init.pp:79 err: //apache/File[/etc/httpd/conf/conf.d/000-ssl.conf]/ensure: change from absent to file failed: Could not set file on ensure: No such file or directory - /etc/httpd/conf/conf.d/000-ssl.conf.puppettmp_7996 at /etc/puppet/modules/apache/manifests/init.pp:33 notice: //centos/Cron[runPuppet]/hour: defined 'hour' as '*' notice: //centos/Cron[runPuppet]/weekday: defined 'weekday' as '*' notice: //centos/Exec[/bin/rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY.dag.txt]/returns: executed successfully notice: Finished catalog run in 1.72 seconds ## ls -l of files trying to be shared [root@puppet ~]# ls -l /etc/puppet/modules/apache/files/krome/httpd/conf.d/proxy_ajp.conf -rw-r--r-- 1 1000 1000 566 Feb 4 12:26 /etc/puppet/modules/apache/files/krome/httpd/conf.d/proxy_ajp.conf [root@puppet ~]# ls -l /etc/puppet/modules/apache/files/krome/httpd/conf.d/php.conf -rw-r--r-- 1 1000 1000 674 Feb 4 12:26 /etc/puppet/modules/apache/files/krome/httpd/conf.d/php.conf [root@puppet ~]# ls -l /etc/puppet/modules/apache/files/krome/httpd/conf.d/001-chrome-ssl.conf -rw-r--r-- 1 1000 1000 1028 Feb 4 12:26 /etc/puppet/modules/apache/files/krome/httpd/conf.d/001-chrome-ssl.conf [root@puppet ~]# ls -l /etc/puppet/modules/apache/files/krome/httpd/conf.d/002-chrome.conf -rw-r--r-- 1 1000 1000 572 Feb 4 12:26 /etc/puppet/modules/apache/files/krome/httpd/conf.d/002-chrome.conf [root@puppet ~]# ls -l /etc/puppet/modules/apache/files/krome/httpd/conf.d/welcome.conf -rw-r--r-- 1 1000 1000 299 Feb 4 12:26 /etc/puppet/modules/apache/files/krome/httpd/conf.d/welcome.conf [root@puppet ~]# ls -l /etc/puppet/modules/apache/files/krome/httpd/conf.d/000-ssl.conf -rw-r--r-- 1 1000 1000 369 Feb 4 12:26 /etc/puppet/modules/apache/files/krome/httpd/conf.d/000-ssl.conf ## apache class that shares the files lives in /etc/puppet/modules/apache/manifests/init.pp class apache { $packagelist = ["httpd","webalizer","mod_ssl"] package { $packagelist: ensure => "installed" } exec { "create httpd conf dir": command => "/bin/mkdir -p /etc/httpd/conf.d", creates => "/etc/httpd/conf.d" } file { "/etc/httpd/conf/httpd.conf": owner => root, group => root, mode => 440, require => Exec["create httpd conf dir"], source => "puppet:///apache/httpd.conf" } file { "/etc/httpd/conf/conf.d/000-ssl.conf": owner => root, group => root, mode => 440, require => Exec["create httpd conf dir"], source => "puppet:///apache/krome/httpd/conf.d/000-ssl.conf" } file { "/etc/httpd/conf/conf.d/001-chrome-ssl.conf": owner => root, group => root, mode => 440, require => Exec["create httpd conf dir"], source => "puppet:///apache/krome/httpd/conf.d/001-chrome-ssl.conf" } file { "/etc/httpd/conf/conf.d/002-chrome.conf": owner => root, group => root, mode => 440, require => Exec["create httpd conf dir"], source => "puppet:///apache/krome/httpd/conf.d/002-chrome.conf" } file { "/etc/httpd/conf/conf.d/php.conf": owner => root, group => root, mode => 440, require => Exec["create httpd conf dir"], source => "puppet:///apache/files/krome/httpd/conf.d/php.conf" } file { "/etc/httpd/conf/conf.d/proxy_ajp.conf": owner => root, group => root, mode => 440, require => Exec["create httpd conf dir"], source => "puppet:///apache/krome/httpd/conf.d/proxy_ajp.conf" } file { "/etc/httpd/conf/conf.d/welcome.conf": owner => root, group => root, mode => 440, require => Exec["create httpd conf dir"], source => "puppet:///apache/krome/httpd/conf.d/welcome.conf" } service { "httpd": enable => "true", ensure => "running", hasrestart => "true", hasstatus => "true", require => Package["httpd"] } } ## this is the node that includes the apache class which also tests out the modules ability to create vhosts on the fly node 'kromep1.ec2.internal' inherits webserver { include apache apache::virtual_host { "ext-kromep1.ops.example.com": ip => "50.xx.xxx.255" } apache::virtual_host { "web1.ops.example.com": ip => "50.xx.xxx.255" } apache::virtual_host {"web2.ops.example.com": ip => "50.xx.xxx.255" } I would genuinely appreciate any input into this issue that you might have to share! Thanks! Tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.