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 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
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
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 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 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 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 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
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 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
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
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,
}
2012 Jul 01
1
puppet-hiera used with Parameterised class
Hi Puppet Users,
For some bizzare reason I am unable to use hiera-puppet with a
parameterised class.
The output is:
----------------------------
root@hiera hieratest/manifests# puppet apply -e "include hieratest"
Error: undefined method `catalog'' for #<Hash:0xb6c53d00> at line 1 on node
hiera.localdomain
Wrapped exception:
undefined method `catalog'' for
2012 Aug 17
3
puppet-rspec / puppetlabs_spec_helper
I am using puppet 2.7.14 on Ubuntu 10.04 LTS. I have the following gems:
*** LOCAL GEMS ***
diff-lcs (1.1.3)
hiera (0.3.0)
hiera-puppet (0.3.0)
metaclass (0.0.1)
mocha (0.12.1)
puppet-lint (0.1.13)
puppetlabs_spec_helper (0.2.0)
rake (0.9.2.2)
rspec (2.11.0)
rspec-core (2.11.1)
rspec-expectations (2.11.2)
rspec-mocks (2.11.1)
rspec-puppet (0.1.3)
When I run "rake help" I get the
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
2012 May 22
2
Announce: Hiera-Puppet 1.0.0rc1 Available
Hiera-Puppet 1.0.0rc1 is a feature release candidate designed to
accompany Puppet 3.0 and Hiera 1.0.
It includes Puppet functions for hiera and also the puppet backend for
hiera lookups.
Downloads are available:
* Source http://downloads.puppetlabs.com/hiera/hiera-puppet-1.0.0rc1.tar.gz
* Apt and yum development repositories
* Apple package
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 16
1
hiera puppet augeas and hash keys ?
Hi,
if possible can someone post a working example please ?
I am using hiera => puppet => augeas.
cat myserver.yaml
---
myserver:
"Birthday": ''1''
"Debug": ''5''
The no. of settings will change, so i would like to use a hash here.
The hiera lookup works already:
>hiera -c /etc/puppet/hiera.yaml -h myserver
2013 Jan 30
1
Hiera parameter lookup, nesting variables and Puppet 3
Hi,
I''m trying to reconcile the advice in the Puppet 3 class doc with our
current use of Hiera. We currently retrieve variables from Hiera in one big
collection while the Puppet 3 doc seems to indicate storing variables
without the collection.
For example, we have a module to manage a log indexer. In its init.pp it
says:
class log_indexer(
$log_indexer_conf =