Displaying 20 results from an estimated 10000 matches similar to: "puppet-lint: class_inherits_from_params_class"
2012 Sep 13
4
puppet-lint
Hi everyone,
Is it possible not to notify error with puppet-lint when "trailing
whitespace" are found in a comment line?
Just asking.
Regards,
JM
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
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
2012 Mar 14
2
hiera on puppet 2.6.12
Hi,
I''m trying to use standard hiera on puppet (gentoo). I simply did
# gem install hiera
Then setup /etc/hiera.yaml
When i call the hiera() function in puppet i get
"Error 400 on SERVER: Unknown function hiera at /data/puppet/manifests/
site.pp:27"
Is there a step that I''m missing?
BTW. standalone hiera works fine.
--
You received this message because you
2012 Jul 27
0
puppet 3 and hiera
I just installed puppet 3 (3.0.0-0.1rc3puppetlabs1) on a 32bit Ubuntu 12.04
''server'' VM. I used the packages for the install.
I then copied over my existing modules and manifests from my production
2.7.x puppet master, and also my hiera.yaml and hieradata/*.
When I run puppet agent --test I get the following:
Error: Puppet::Parser::AST::Resource failed with error
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 May 29
3
How can I use "puppet apply" with hiera?
I''m running Puppet v2.7.14. I have a puppet master server with Hiera and it
works great. I also want to be able to apply my manifests locally on a
node. I have installed Hiera on my node and I can verify using the Hiera
command line application that values can be looked up:
user@tag5-4-qa-sjc:~$ hiera corp_puppet_server region=northamerica
datacenter=sjc environment=qa --debug
DEBUG:
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 Feb 22
3
puppet could'nt find hiera even when hiera gem is installed
Hiera was properly working in my environment. But puppet was looking at old
version even when I have the latest hiera gem installed. So I could''nt
use json backend. But puppet is not looking at my latest hiera gem. Not
sure when went wrong here.
Scenario:
I have installed hiera couple of months back. So the gem was installed
under
/opt/puppet/lib/gems/1.8/gems/hiera-0.3.0
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 Jul 25
5
Heria, Facts, and Puppet
So something doesn''t look right for me when running puppet apply -e
''include ...'' for looking heria via facter fact.
I have hiera configure as this,
:backends:
- yaml
:hierarchy:
- common
- ''%{env_name}''
:yaml:
:datadir: /var/lib/hiera/data
and, a file envXX.yaml store in the datadir, and I can run *hiera xyz
2013 Apr 11
3
puppet-lint -- learning stuff about style but also generating questions
Here''s one I learned:
I originally had
# Ensure /etc/hosts contains the basics
host { "${fqdn}":
host_aliases => $hostname,
ip => $ipaddress,
}
And thru some trial and error, got down to this (which puppet-lint does not gripe about)
# Ensure /etc/hosts contains the basics
host { $fqdn:
host_aliases => $hostname,
ip => $ipaddress,
}
2013 Oct 24
1
Puppet components and configuration / Hiera patterns
We have embraced Hiera; we use the YAML configuration system currently and
on the whole everyone finds it easy to use and intuitive.
However, as our manifests have grown more complex, we have a need to
"compile" multiple narrowly-focused classes together into different types
of high-level roles. For example, we might have a "webmail" class that
pulls together classes for
2012 Aug 20
4
puppet-lint and 80 characters line limit?
Hi.
I''m getting lots of warning like this one from puppet-lint:
WARNING: line 67 has more than 80 characters
Now, I don''t like warnings, so any idea how should I rewrite this line
for example, to void the warning?
package {''rpmforge-release'':
ensure => ''0.5.2-2.el6.rf'',
provider => ''rpm'',
source =>
2012 Apr 24
9
Moving from Puppet 0.25 to Puppet 2.6+ : global scope/variables
Hi,
I worked with puppet (< 0.25) back in 2008/2009. We were able to
deploy 200 servers from scratch and manage them. It worked fine.
I''m now with a new customer and I''m pushing Puppet (and I''m also back
to puppet on a side project).
We''re considering Puppet 2.6 to manage RHEL/CentOS 5 or 6 hosts. I''m
"upgrading myself" to Puppet
2012 Sep 04
1
Enterprise puppet and VMware VM deployment
Does Enterprise Puppet use VSphere SDK API to deploy VMware VM? If
not, what does it use?
On 8/30/12, steeef <steeef@gmail.com> wrote:
> I''m in the process of migrating data out of my standard Puppet repositories
>
> for modules and manifests, and I''m having second thoughts about my original
>
> design. I''d appreciate any feedback you can give me.
2013 Sep 11
6
Puppet ignores hiera completely
I''m not sure at all what''s going on here, but I''ve spent a lot of time
reading over the puppet hiera docs and setting everything up, but when I
run puppet agent it just seems to ignore the hiera setup completely.
Both the puppet master and agent nodes have exactly the same versions of
puppet and hiera (installed via the official puppet APT repository). I''ve
2012 Apr 19
1
puppet-lint error
Hi, this is not strictly puppet related but I am hoping someone here
who uses puppet-lint can tell me what is going on here.........
$ puppet-lint init.pp
/Users/jc/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/
rubygems/custom_require.rb:36:in
`require'': iconv will be deprecated in the future, use String#encode
instead.
2012 Jun 27
6
Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type ruby::gemInstall at myFile.pp:82
I have a module located at /etc/puppet/environments/test/modules/ruby.
I
n this I have a manifests folder with two .pp files - init.pp and
gemInstall.pp.
In one of my node def files I have:
include ruby
ruby::gemInstall { ''someGem-version.gem'':
path => ''/path/to/agent/local/gem/repo'',
}
ruby::gemInstall is a define, and it has some logic to get around
2012 Jul 27
2
Atomicity of updates on the Puppet master
Hello,
I''m currently setting up some scripts that will pull in new data for Puppet
master (modules, manifests, hiera data, etc.) from a Git repository. It
works great!
However, I''m concerned about atomicity of the whole thing. Does the Puppet
master cache the modules/manifests when it starts? If so, do I need to
restart the Puppet master on each update? Or can I send it a
2012 Mar 16
3
Simple hiera-puppet usage
Hi all,
I am trying to understand how does hiera puppet backend work, so I created the
following example:
hiera.yaml has only:
---
:backends:
- puppet
---
And the node:
node ''testnode'' {
$variable = ''kk''
$thing = hiera ("variable")
notify { "note: $thing": }
}
I don''t want to use the yaml backend for now, just want to