apt-get update is work-> 

exec { "apt-update":
    command => "/usr/bin/apt-get update"
}

Exec["apt-update"] -> Package <| |>


But now I want to run a complicated script (/etc/puppet/script/works.sh)

what do I write the site.pp that I run the script in the client

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/192595dd-e0bc-4270-b3d1-fb1569a3f3af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to