I have code like this:

case "$operatingsystem" {
        "redhat": {
            include gu_splunk::redhat
        }
        "solaris": {
            include gu_splunk::solaris_old
            include gu_splunk::solaris
        }
    }

In gu_splunk::solaris_old I have an Exec like this:

exec { "download_pkgrm_adminfile":
        command => "wget -q -O /tmp/$pkgrm_adminfile http://... ",
        timeout => 60,
        creates => "/tmp/$pkgrm_adminfile",
    }

Running puppet agent on a RedHat machine causes the Exec to execute
and the file to get downloaded!!

Why?

Thanks a lot.
Mohamed.

-- 
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.

Reply via email to