What you get running this:

/usr/bin/apt-get -y -o DPkg::Options::=--force-confold install nmap
>
>
on the agent? Cheers!!



On Friday, October 18, 2013 8:30:37 AM UTC+1, kampy wrote:
>
> Hi, i am new to puppet please help me how to resolve this issue. 
> below is my script 
> class nmap {
>         package { 'nmap':
>                 ensure => installed,
>         }
>
> }
> include nmap
>
> below is the error it is failing 
>
> err: /Stage[main]/Nmap/Package[nmap]/ensure: change from purged to present 
> failed: Execution of '/usr/bin/apt-get -q -y -o 
> DPkg::Options::=--force-confold install nmap' returned 100: Reading package 
> lists...
> Building dependency tree...
> Reading state information...
> The following NEW packages will be installed:
>   nmap
> 0 upgraded, 1 newly installed, 0 to remove and 159 not upgraded.
> Need to get 1643 kB of archives.
> After this operation, 6913 kB of additional disk space will be used.
> WARNING: The following packages cannot be authenticated!
>   nmap
> E: There are problems and -y was used without --force-yes
>
> notice: Finished catalog run in 1.16 seconds
>
> please help in understanding what i am missing here to install this package
>
> Thanks in advance 
>
> Regards,
> kampy
>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to