Displaying 20 results from an estimated 20000 matches similar to: "Package management"
2013 Dec 13
0
Error: Puppet::Parser::AST::Resource failed with error Hiera::InterpolationLoop: Detected in [::environment]
Hello,
just upgraded Hiera from ver. 1.2.1 to 1.3.0 and broke our puppet
environment. :)
It seems that there are sizeable changes related to variable interpolation
Here is an error during Puppet run:
Error: Puppet::Parser::AST::Resource failed with error
Hiera::InterpolationLoop: Detected in [::environment] at
/home/ubuntu/environments/project_dev/manifests/site.pp:35 on node
2013 Nov 30
8
Providing hiera with module data
Hi guys,
I don''t know how to solve this:
I want ".yaml"-files in each module''s "/data"-directory. These .yaml-files
should contain data, which Hiera sould pass to the module''s manifests.
How can I do that? I''m using Puppet 3.3.1
Thanks in advance!
--
You received this message because you are subscribed to the Google Groups "Puppet
2013 Nov 23
2
OSX 10.9 appdmg/pkgdmg
Howdy,
Trying to install dmg files with puppet. However, after running my manifest
the .dmg file is never downloaded by curl. I tried pkgdmg and appdmg. I
also tried using a local directory as the source. It seems to ignore any
path I give as the source even totally bogus ones.
1 define pkg_deploy($sourcedir = false) {
2 $sourcedir_real = $sourcedir ? {
3 false
2013 Dec 16
1
Overriding class options with hiera
Hi,
I''m trying to do something with Hiera, whereby the ''default'' configuration
for a class is within it''s role/profile manifest, which can then be
overridden on a node specific basis by hiera.
As an example;
class profile::base {
class { ''::ntp'':
servers => [''a'', ''b'', ''c'',
2013 Nov 01
1
Dynamic Environments, r10k, gitolite and Non-environment Puppet Config
Hi all,
Apologies if this has been dealt with before, but I haven''t managed to find
an answer yet.
I have a working "dynamic environments" setup:
* A gitolite repository (on a dedicated host) with multiple branches - one
for each environment.
* I use r10k ro deploy the environments on the master to
$confdir/environments/$::environment.
This all works *really* well, but I
2013 Feb 14
0
Really need some help:: Weird Issue with external data look up in puppet 2.6.11
Running puppet 2.6.11 opensource on Red Hat 5.6 client.
I cannot explain this logically but I have a directory structure like so:
/etc/puppet/manifests/hiera/hostgroups/
with directories for each of my application areas like so:
*clickz core devel dns icross iswap itch puppet test ubuntu*
*What is weird is that if I put anything under the directory named "core",
the ext
2013 Dec 18
0
Resources not exported from puppet agent run on the Puppet Master nodes with PuppetDB
I could use some help debugging a bazaar PuppetDB problem. Exported
resources seem to be working fine everywhere except for on the Puppet
Masters themselves. Whenever I run the puppet agent on them everything
seems to go fine and I see the catalog getting submitted to PuppetDB in the
logs. However, when I run puppet on the node that should collect these
resources they aren''t
2014 Feb 17
0
Custom policy executable
Hi,
I'm trying to create an autosign policy which checks for a custom attribute
in the CSR but I'm having some issue with the master not signing the
request.
My client has the following in /etc/puppet/csr_attributes.yaml
custom_attributes:
1.2.840.113549.1.9.7: foo
My policy is a simple bash script, in this case checking for foo
#!/bin/bash
CUSTOM_ATTR=$(echo "$(cat)"
2013 Dec 18
0
ruby
How would I convert this program to output exactly the same thing but only
for all the (noop) operations.
We keep puppet in noop mode to audit its actions before they are applied.
Thus it is necessary to ensure we understand exactly what all the nodes
noop operations would be if we listed the noop restriction for a normal
apply.
This program will report in a reasonable format for those non-noop
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 Mar 10
1
hiera yaml namespace nesting
Hi,
I''ve just got hiera deployed into a new puppet environment, and have
defined a class as follows:
modules/role/manifests/ui.pp
=====================
class role::ui (
$public_hostname
) {
notify {''role::ui::notify'':
message => "role::ui configured for ${::data_center}; hostname:
$public_hostname",
}
}
This is then included into
2013 Dec 13
2
New to puppet and recieving mcollective error
Im new to puppet and installed it in my home lab to mess with, when i
installed it i used the hostname rather than FQDN so went back and changed
puppet and reran the certificate tool to regenerate the certificates etc,
the agent works fine now but i am getting an mccollective error i think, is
there anything in the config i need to change for mccollective after
altering the name to the FQDN?
2013 May 08
1
Problem with hiera config
Hi all,
I''m trying to work with hiera database in puppet and i''m having problems
using %{variables} because they don''t get the values and i don''t know why.
file hiera.yaml:
cat hiera.yaml
---
:backends: - yaml
- puppet
:hierarchy:- nodes/%{domain}/%{hostname}
- os/%{operatingsystem}/%{operatingsystemrelease}
-
2013 Nov 25
2
mcp ping return no responses
I''m trying to install mcollective on an environment for the first time and
I''m having troubles:
MC client (also the puppet master)
activemq.xml
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The
2013 Oct 14
3
Managing /etc/hosts without using exported resources
Hi All,
I am using Puppet 3.2.4 and I''d like Puppet to manage /etc/hosts for me and
add "neighbouring hosts" only to /etc/hosts. These hosts are determined to
be neighbours based on where they are (city/country).
For example ($::city and $::country are custom facts):
@@host { $::fqdn:
ip => $::ipaddress,
host_aliases => [ $::hostname ],
tag
2013 Jul 22
0
Could not intern from yaml: undefined method `intern' for nil:NilClass
Hi everyone,
I''m stuck with this error trying to set up inspection reports :
Could not send report: Error 400 on SERVER: Could not intern from yaml:
undefined method `intern'' for nil:NilClass
Earlier, I had this one :
Could not run: Could not find catalog for hostname
That I fixed with : catalog_cache_terminus = yaml
Agent and server are running puppet 3.2.3.
Full
2013 Jul 30
2
Vagrant Puppet Provision VM
Hi All,
I am using Vagrant to provision a box (CentOS 6.x) with puppet
provisioner. The box is built by using veewee, with ruby 1.8.7 and puppet
3.2 iinstalled, and the vagrant environment layout is,
.
├── Gemfile
├── Gemfile.lock
├── Rakefile
├── Vagrantfile
├── definitions
│ └── centos-6.3.minimal
├── hiera
│ └── data
├── iso
│ ├── CentOS-6.3-x86_64-minimal.iso
│ └──
2013 Sep 16
10
Unable to specify hierarchy for data-in-modules
Hello,
I''m running Puppet agent stand-alone on Windows.
I got data-in-modules working. However, no matter what I put into the
module hiera.yaml,
I can only override the defaults from common.yaml by osfamily (and not,
e.g., by environment).
In the setup below the following command outputs:
>puppet apply --binder -e "notice lookup (''my_key'')"
2013 Jul 29
2
puppet apply --hiera_config --> Error: Could not find class
Hi there,
I''m running into an problem which I can resolve. It is bugging me for
couple of days now.
Goal: CentOS 6.4 freshly installed incl puppet 3.2.3 and I want to install
puppet master, puppetdb, mod_passenger & apache with "puppet apply". So
when this is complete, I should have an puppet master server running so I
can create new hosts etc.
So this is the command
2013 Nov 14
2
User Management in LDAP/Kerberos (freeipa)
Hi,
I''m faced with the question if we should be doing user management directly
using freeipa (an integrated LDAP, Kerberos, CA, etc) or by manipulating
freeipa using Puppet.
Installation and configuration of the service is already performed through
Puppet so this only concerns the data stored by freeipa (users, groups,
sshkeys, sudo permissions, etc).
Pros of puppet:
- everything