search for: ensuring

Displaying 20 results from an estimated 17637 matches for "ensuring".

Did you mean: insuring
2008 Feb 20
2
purging unmanaged cron
Should this work? # --- remove any cronjobs that are not managed by puppet. resources { "cron": purge => true } I get the following error. Resources[cron]: Failed to generate additional resources: You must specify a title for objects of type Puppet::Type::Cron Ben
2007 Jan 26
1
directory, effect of recurse with ensure => directory
Hello, I wanted to say:: this file is a directory and must be created , this directory and it''s content should be owned by root:www-data with 640 mode for file and 750 for dirs: file { "base_admin": path => "/my/dir" owner => ''root'', group
2013 Mar 26
1
Can't convert Puppet::Util::Log into Integer
Hi all, Could anyone help me at least start debugging this issue? All agents have the same error, but i can''t find anything on the master-side logs. And the agent-side logs are non-existent (/var/log/puppet is empty). Thanks. Versions: Master: Red Hat Enterprise Linux Server release 6.3 puppet-server-3.1.0-1.el6.noarch puppetdb-1.1.1-1.el6.noarch puppetdb-terminus-1.1.1-1.el6.noarch
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 Jun 06
8
useradd provider not working?
I have this config: # BL00070 - Disable NFS service {["nfs","nfslock","netfs","portmap"]: ensure => stopped, enable => false, } user {"rpc": ensure => absent, provider => "useradd" } user {"rpcuser": ensure => absent, provider => "useradd" } file
2012 Mar 14
10
permission denied errors on /var/lib/puppet stuff during puppetd -t
I''m suddenly getting the below errors from Rack during puppetd -t (excerpted from the pink HTML output and cleaned for readability): Could not prepare for execution: Got 10 failure(s) while initializing: change from absent to directory failed: Could not set ''directory on ensure: Permission denied - /var/lib/puppet/yaml; change from absent to directory failed: Could not set
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,
2013 Mar 26
0
Solved: Can't convert Puppet::Util::Log into Integer
Hello, It seems that, for one reason or another, two thing happened: the postgres for puppetdb was dead, and the puppetmaster service was started, even though it''s run from apache. After a bit of cleanup, everything works now. Thanks for your suggestion, and sorry for the stupid issue. On Tue, Mar 26, 2013 at 11:43 AM, Keith Burdis <keith@burdis.org> wrote: > The agent only
2013 Oct 13
2
LAMP stack with strange dependencies
Hello everyone. I''ve been toying around with puppet and something happened that seems strange to me. In site.pp I have the following: > node default { > > # This is where you can declare classes for all nodes. > > # Example: > > # class { ''my_class'': } > > # class { ''lamp'': } > > package
2013 Aug 30
1
Could not find certificate Error: header too long
I''m having a strange issue: A new machine created this morning showed thi error: ON PUPPET AGENT [root@wso2greg ~]# puppet agent --environment=production --verbose --no-daemonize --debug Debug: Puppet::Type::User::ProviderUser_role_add: file rolemod does not exist Debug: Puppet::Type::User::ProviderPw: file pw does not exist Debug: Failed to load library ''ldap'' for
2007 Feb 01
5
Interesting interaction between source and ensure in file definition in function...
Given the following: file { "/my/file": source => "puppet://server/path/to/some/file", ensure => absent } Puppet will copy /my/file to the host. What I was hoping was that ensure => absent would trump a source file. However, if we change the above slightly like this: file { "/my/file": source =>
2013 Aug 06
7
Puppet first run timing out
I''m working on deploying Puppet to our environment and after reinstalling some nodes, I run Puppet for the first time. It appears to be updating some Puppet specific files (see below), and then times out with the error: "Error: /File[/var/lib/puppet/lib/facter/ip6tables_version.rb]/ensure: change from absent to file failed: execution expired Error: Could not retrieve plugin:
2011 Mar 14
1
configsync requires 2nd puppet run for plugin loading to work
First run of puppet performs a configsync and an attempt to load the downloaded plugins, the provider fails to be found by puppet in this first run, another re-run of puppet is needed for the provider to work, see debug output below. Is this a bug or am I missing something you think? The error in short: err: /Stage[main]/Ibe::Slave/Logical_volume[mysql]: Could not evaluate: No ability to
2007 Jan 25
3
Usability concern with overrides
I''ve been tinkering around with managing users and am concerned with the overall administrative usability of the inheritance overrides. For instance, the user games: redhat_base: user { games: ensure => present } local_site inherits redhat_base: User[games] { ensure => absent } This is fine, but imagine a few levels of nesting later with an admin that wants to ensure that a
2013 Apr 03
1
Using single hiera hash for two create_resources, and mounting filesystems
I am trying to use the same hiera hash to create the mount point and mounts. (Would be nice if mount could create the mount points using 3.1.1) My plan was to define create_mount_points and use create_resources with the same hash, and just though away what I dont use.... maybe there is a better means? Here is the mount class: class fstab::mounts ( $config = undef ) { $defaults = {
2011 Jul 12
4
Possible bug? Can't remove and then put back a file?
This happens to Puppet 2.7.1 (both master and client). I have a file resource that I set to ensure => absent, Puppet removed it correctly with info line that it has a duplicate entry in the filebucket. I then changed the ensure => present, the agent run gave me following error: /usr/bin/puppet:19 err: /Stage[main]/Emb/File[/opt/jetty-distribution-7.4.2.v20110526.tar.gz]/ensure: change from
2011 Jun 17
5
ssh_authorized_key and NIS user
Hi, I have this resource definition: ssh_authorized_key { "nagios@login2": key => [REDACTED] user => "nagios", type => "ssh-dss", require => Service[''nis''], } This nagios user comes from NIS, yp.conf and nsswitch.conf are handled by puppet and configured before the key. I still get an "User does not
2011 Jan 21
6
help writing types/provider
I''ve almost finished a pretty simple type/provider to manage RabbitMQ users and virtual hosts. I''m using the ''ensurable'' keyword in my type to save a bit of boilerplate. Type is below (the provider is just a wrapper around the ''rabbitmqctl'' command. Have a feeling there''s a developer guide somewhere I haven''t found (been
2007 Apr 13
2
puppet reporting an older version installation
Hello all, I have puppet rpm on internal repository for updating it to servers that don''t have it on their normal repos (Centos, Fedora Core 4 or older...) Then I have this to ensure that puppet is at latest version: package { "puppet": ensure => latest, provider => yum, } I added puppet 0.22.3 to my internal repository and all servers updated to that version,
2007 Aug 16
0
No subject
class users_noc inherits users_all_virt { realize ( Users_account["user1"], Users_account["user2"], Users_account["admin1"], Users_account["admin2"], Users_account["admin3"], ) } class users_all_virt { $homefs = "/home" file { $homefs: ensure => directory, owner