On 31/07/2012, at 6:25 PM, heriyanto <[email protected]> wrote:
> Dear All,
>
> I just do something simple just want to copy file, this my syntax,
>
> class asterisk::conf {
> file { "/etc/asterisk/extensions.conf":
> owner => asterisk,
> group => asterisk,
> mode => 644,
> source => "puppet:///modules/asterisk/extensions.conf",
> require => Package["asterisk"],
>
> this one doesn't work require => Package["asterisk"], the package
> already installed.
> but when i trying with vim as name package its work, even i already
> remove the package.
> something wrong? i never found this before on puppet. Thanks.
do you have something like:
package { asterisk: ensure => installed …. }
if you search your repos for asterisk does it come up?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.