Now eureka I have uninstall screen with rpm and I have created the 
following 
I begun from screen installation again :)))
/etc/puppet/modules/screen/manifests/init.pp

class screen {

  package { 'screen':
    ensure => 'present'
    }
}

under this path I ve declared class

/etc/puppet/manifests/site.pp

John I hope to understand what you are trying to say to me....

But where I can define which packet must have a node rather than another
Example where can i set if node 1 can have screen an node 2 can have vim 
but not screen and node 3 apache and not vim?? perhups in node.pp ??
Thank you in advance and to Andy too

#import 'nodes.pp'
$puppetserver = 'puppet.xxx.xxx.xxx.it'

node default {
    include 'screen'

    include 'sudo'
}

node 'lurtz.interno.regione.lazio.it' {
include screen
}




Il giorno lunedì 8 aprile 2013 10:46:40 UTC+2, Francesco ha scritto:
>
> Hy I m a new user in world puppet
> I have installed a packge test on a node "screen" without problem
> Now i want to try to uninstall it but without success. This is the file 
> configuration
> this is my file init.pp
> package {"screen-4.0.3-16.el6":
>         ensure=> "absent"
> }
>
> #package and purge its config files
> package {"screen-4.0.3-16.el6":
>     ensure => "purged"
> }
>
> this is the path of my manifest /etc/puppet/modules/screen/manifests
> this is the command that I execute to remove package screen
>  puppet agent --server=puppet.xxxx.xxxxI
>
> this is the answer
>
> Info: Retrieving plugin
> Info: Caching catalog for node.xx.xx.x
> Info: Applying configuration version '1365406267'
> Notice: Finished catalog run in 0.08 seconds
> Effectively screen is already installed
>
> Thank you in advance
> I m going mad
>
> Cheers
>
>
>
>
>
>
>

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to