similar to: puppet uninstall package

Displaying 20 results from an estimated 20000 matches similar to: "puppet uninstall package"

2012 Feb 16
4
Could not set present on ensure: Read-only file system
Hi, I try install python-psycopg2 with other packages, when run apt-get -y update returns the errors: err: /Stage[main]/Etc/Package[build-essential]/ensure: change from purged to present failed: Could not set ''present on ensure: Read-only file system - /tmp/puppet20120216-1063-18q7lsz-0 at /tmp/vagrant-puppet/manifests/vagrant.pp:15 err:
2007 Nov 21
9
purging exported resources
So I have the following: define nagios::service ( $nagios_template = ''service-template'', $host_name = $fqdn, $service_groups = '''', $contact_groups = $default_contact_group, $max_check_attempts = 3, $dependency = false, $dependent_host = $fqdn, $dependent_service = '''', $check_command = '''' ) {
2012 Dec 04
4
puppetlabs-firewall scope
Hello, I can''t figure out how I can use the module puppetlabs-firewall only for some targeted nodes. If I put : resources { "firewall": purge => true } in top scope (i.e. site.pp), then all the firewall rules on all my nodes are purged. Even for nodes for which I don''t apply any module containing specific firewall { ... } resources. If I put it in a module
2013 Apr 04
5
Unable to set MySQL root password
Hi, Using this module https://forge.puppetlabs.com/puppetlabs/mysql as described on documentation: class { ''mysql::server'': config_hash => { ''root_password'' => ''foo'' } } But, couldn''t set password after logging getting error: Access denied for user ''root''@''localhost'' (using password:
2008 Jan 03
5
modules and parser plugins: function unknown
Hi, We are totally sold on Pupet (what a nice concept) and are trying to setup a proof-of-concept. We are trying to learn a bit from other people''s work by integrating external modules. One of the modules we wanted to start with was the ''ntp'' module from David Schmitt. It clearly uses some functionalities from the ''common'' module, which we also
2012 Aug 06
4
Could not evaluate: Could not retrieve information from environment production source(s) for one module, for other is ok
Hi, I have been fighting this issue without success for several days. I am sure some of you have dealt with something similar: I have 2 manifest one for vim which works like a charm : class vim { if $operatingsystem == "Debian" { package {"vim": ensure => present, } package
2009 Dec 08
5
Cleaning Out Stored Configs
Hi, We''re using thin stored configs heavily to manage things like Munin and Nagios and we''re currently wondering what to do when nodes go away, or change considerably. If we get rid of a server then all it''s stored config is still present in the database, as well as it''s nagios and munin configurations. We created a script that iterates through the database
2006 Dec 04
6
puppet definition
Hello, still upgrading to .20.1 and i have another issue that puppet does not regonize anymore my definitions, i use some ensure lines definition in a function.pp file and since then i am unable to make it work. puppetmasterd tells me this: Unknown function sudoensure_line in file /etc/puppet/manifests/./classes/backup.pp the import of the function is my 2 line of the site.pp and i
2012 Jul 09
3
Trouble installing packages with Puppet on Arch Linux
Hey everyone, I seem to be running into an error that I can''t find an answer for. I have a simple manifest that installs a few packages and then starts a few services. But it chokes while installing Nginx with this error: err: /Stage[main]//Package[nginx]/ensure: change from purged to present > failed: Could not set ''present on ensure: invalid byte sequence in US-ASCII
2012 Oct 03
5
is_virtual selector
I too have been pushed into Puppet 3.0. Clients and PuppetMaster are now at 3.0.0. Not sure if this is a version change or syntax error that I am experiencing. We''ll use ''ntp'' as the example and the "build" host is a VM. The old way: class baseline::ntpd { package { "ntp": ensure => $virtual ? { physical => present,
2011 Dec 10
5
create user and push out keys.
Hello Im just been working with puppet, the first usecase i have is to set up a system to create users and then push ssh keys on this machines in the create users .ssh files. I just started with puppet so i am a bit cluesless, Can someone push me in the right direction? Im having a centos enviorment. -- You received this message because you are subscribed to the Google Groups "Puppet
2008 Feb 22
12
Yumrepo and managing the contents of /etc/yum.repos.d directory...
Puppet version: 0.22.4 facterversion => 1.3.7 rubyversion => 1.8.5 Given the following: file { yum_repo_d: path => "/etc/yum.repos.d", ensure => directory, recurse => true, purge => true } yumrepo { pkg_repo: descr => "Packages Repository", enabled => 1, baseurl => "http://Some/path/", gpgcheck => 0,
2013 May 07
8
proxy required
Hy I m new to puppet. I ''d like to install epel.repo on a my node and this is the module that I ve created class epel { package { ''epel'': provider => ''rpm'', ensure => installed, source => ''http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm'' } } Now my connection on node when I
2013 Jun 05
2
Template not putting in new lines.
hi all, Ive been having a bit of a trouble with something that should be pretty simple. My goal is to create a host file on a node with IP address and hostname (specified in the node manifest). I created the manifests and templates below but when I use them I get a hosts file without spaces or newlines, like below. Please help me figure out how do I add the spaces and new lines? Or where
2007 Aug 30
4
Templates and Ruby
Hi, I am using a template to create an /etc/exports file. I have a template that looks like this (but results in the puppetmasterd dying on the server when the client updates): <% nfsHomeClients.split.each do |host| -%> /nfs <%= host %>(<%= mainshareoptions %>) <% nfspaths.each do |path| -%> <%= path %> <%= host %>(<%= nfsoptions %>) <% end
2012 May 30
12
resource override
hi All, I''m a bit new to puppet. Is there a mailing list for puppet beginners?:) I have a service module called postfix, which defines file in a class: file { ''/etc/postfix/main.cf'': owner => "root", group => "root", mode => 644, content =>
2013 Jun 12
4
Can't find source of "Removing mount" errors
I''m maintaining part of a rather large puppet config and at a loss to figure out where the following errors are coming from during a puppet update: err: Removing mount all: /var/lib/puppet/files/all does not exist or is not a directory err: Removing mount pixel: /var/lib/puppet/files/pixel does not exist or is not a directory err: Removing mount compute: /var/lib/puppet/files/compute
2007 Mar 11
5
Modules Search and Puppet
Hi, I''m not using puppet in a standard way (ie. in a server/client configuration), just the standalone ''puppet --use-nodes'' command. I''m having problems with the directory structure of modules and using the import feature. My directory infrastructure looks like this: /srv/puppet/facter/... /srv/puppet/manifests/site.pp /srv/puppet/manifests/libs/file.pp
2011 Dec 29
21
Puppetserver error
Hello everyone, I am new to puppet. I have installed on redhat Enterprise 5and seems to be working fine. Couple days ago I was testing some permissions on / etc folder and applied 600 /etc and sub folders. Although I have reverted the permission but I am having issues on puppetmaster. Currently I have these permission on etc 755 and puppet folder: my /etc folder is 755 and puppet folder with tese
2011 Feb 27
3
learning, but puppet does not detect change
Hi, I''ve just installed Puppet on two CentOS 5.5 servers, "S" for "A". "A" does not have the ntp package installed nor of course ntp running. The Puppet server is started on "S" with the ntp class from this tutorial: http://bitfieldconsulting.com/puppet-tutorial (included below) however when I run the agent on "A" it don''t