Supriya Uppalapati
2014-Jul-29 17:35 UTC
[Puppet Users] unable to detect source attribute.
Hi, My code is unable to find source attribute. even though i specified it correctly. Here is my error *Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter source at /etc/puppetlabs/puppet/environments/development/modules/powercenter/manifests/init.pp:27 on node infauser.dot-pap-spr-d03.ddc.dot.state.ma.us* *Warning: Not using cache on failed catalog* *Error: Could not retrieve catalog; skipping run* *Here is my code:* *cat init.ppclass powercenter { include test include powcentertests# $downloaddir = "/stage/informatica/Infa961/" $informatica_version = '961HF2_Server_Installer_linux-x64.tar' $informatica_licence = 'Commonwealth_of_Massachusetts_MultiOS_RE_v961_Dev_0088671_97168.key' file { 'bash_profile': path => '/home/infauser/.bash_profile', ensure => 'present', #source => "puppet:///development/powercenter/files/bash_profile", source => "/stage/informatica/bash_profile",} file { "/opt/apps/installs/srvr": ensure => "directory", owner => "infauser", group => "infauser", mode => 750,} exec { '$informatica_version': command => "/bin/tar -xvf $informatica_version", #path => '/bin/tar', cwd => '/opt/apps/installs/srvr/', #creates => '/opt/apps/installs/srvr', source => "/stage/informatica/Infa961/961_Server_Installer_linux-x64.tar",} file { '$informatica_licence': path => "/opt/apps/downloads/Commonwealth_of_Massachusetts_RE_v961_DEV_0088671_97168.key", ensure => present, owner => infauser, group => infauser, mode => 0755, source => "/stage/informatica/Infa961/Commonwealth_of_Massachusetts_RE_v961_DEV_0088671_97168.key", # informatica => $downloaddir,}}* -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/72c8cc09-9026-409e-86fb-65b763b22655%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.