Displaying 20 results from an estimated 60000 matches similar to: "One node and several environments"
2013 May 07
7
puppet node clean using SQLite instead of PuppetDB
I have a node that has some bad stored configs (namely the wrong ssh host keys) that I''m trying to clear out. Looking around it seems I''m supposed to do:
puppet node clean foo.example.com
However, that keeps bailing out because it''s trying to open a SQLite3 db where stored configs are normally kept, but my stored configs are kept in puppetdb (http://pastie.org/7814483
2013 Oct 30
4
Warning: Local environment: "42A" doesn't match server specified node environment "production", switching agent to "production"
Hi,
When I run puppet agent --test --environment 42A, I have the following
warning :
Warning: Local environment: "42A" doesn''t match server specified node
environment "production", switching agent to "production".
...
The puppet manifest for the environment "42A" isn''t applied.
The puppet version is 3.3.1-1puppetlabs1 on agent and
2013 Aug 14
2
Environments; function error
Hi all,
We have two environments: production (containing one module) and
experimental (two modules, one the same name as the module in
production). All of our other modules are in the main module directory.
Agent runs complete fine in the production environment, but not when
switched to experimental. Error:
Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: Unknown
2012 Oct 08
8
Invalid resource type anchor.
Hi group, im updating some modules of puppet, and i found this issue or
error, that i cannot get resolved it. My puppetmaster is 2.7.1 and client
2.7.18. I used other modulo to prover apt configurations but i think this
is more completed.
I know that the error is something missing or my class is not present or
something like that, the dependencies of the modulo are installed, stdlib
and i
2013 Feb 11
3
Error: Could not find class <class> for <host> on node <host>
I''m a first time user that just installed Puppet 3.1.0 over the weekend and
hit a road block that I can''t seem to get across. I have a Linux master
(Mageia 2) and two Windows 7 clients. I was able to get basic recipes
working by putting the resources directly in the node definitions. Now I''m
trying to move to the next step and start using classes. I am *not*
2013 Jun 10
5
Does stdlib break the regsubst function?
Hi all,
We are currently using the regsubst function of Puppet to generate some
information out of our hostnames (customer, environment, and so.). The
manifest is running fine since months.
7: $customer = regsubst($::fqdn, ''(^[^-]*)-[^-]*.*'', "\\1")
8: $environment = regsubst($::fqdn, ''^[^-]*-([^-]*).*'', "\\1")
9: $product =
2013 Aug 19
3
Puppet environments vs App environments
I''ve setup dynamic environments using git but I''m confused about how
environments are actually supposed to be used. We''re a small ISP and have
freeradius servers, VPN servers and web servers. I''ve been using
environments to enable me as the sysadmin to build and test new
manifests/modules before deploying them to our production servers. I have
dedicated
2013 May 09
7
Are multiple environments broken in puppet?
I started getting the following errors from my puppet master:
> Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: Invalid parameter provider at /some/module/manifests/foo.pp
The module would vary, but the error was always the same. I started
googling, searching lists, etc. And turned up a whole bucket load of issues
that all seem related and are all unresolved:
2013 Jul 29
2
a different ssh::auth problem
Hi,
I am very new to puppet.
I installed puppet 3.2.3 (open source) on Debian Wheezy. Everything seems
to work fine.
Now I want to setup ssh::auth on the puppet master. The documentation
states that:
"To install ssh::auth, place the file auth.pp<http://projects.reductivelabs.com/attachments/935/auth.pp> (attached
to this page) into the ssh/manifests directory in your module path:
2013 Sep 24
1
error when create database mysql with puppetlabs-mysql (v1.0.0)
Good evening, folks.
Using the module''s puppet forge to create a database I get an error below.
Could you help me?
*puppetlabs-mysql (v1.0.0) *
*class mysql_default {*
*
*
* mysql::db { ''mydb'':*
* user => ''root'',*
* password => ''123456'',*
* host => ''localhost'',*
* grant
2013 Jan 30
3
Puppet Modules from Forge
Hello all,
I have some questions about the download puppet modules from puppetforge:
I''ll take puppetlabs-dism as an example, once its installed its located:
/etc/puppetlabs/puppet/modules/dism
Can this be renamed to something else ?
Also if for example, I had a folder tree under modules e.g.
/etc/puppetlabs/puppet/modules/windows
|
|- manifests
|--base.pp
|--networking.pp
Can I
2013 Feb 12
6
Run Puppet Against Master with Local node.pp Manifest?
Does anyone know if it''s possible to run Puppet as if it''s running with a
Master, but using a locally created node.pp manifest?
I''m looking into doing some unit tests on applications that are installed
by Puppet. To do this, I''m trying to use a test VM server which I''ll deploy
applications onto. I figure that the easiest way is probably to
2013 Nov 20
2
How come that module is not executed in Windows?
I have the following in vagrantfile in WIndows system.
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "manifests"
puppet.manifest_file = "base-hadoop.pp"
puppet.module_path = "modules"
end
when i run vagrant provision, i do see manifest and module folders are
mounted and ssh into vm, I can find files in the following path
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 Jun 10
1
cannot using LDAP nodes with site.pp together?
*FROM:*
http://projects.puppetlabs.com/projects/puppet/wiki/LDAP_Nodes
"""*
NOTE: You can use node entries in your manifests together with LDAP nodes.
External or LDAP nodes will be used before node entries. You cannot however
use LDAP nodes and external nodes together. You must use one of these two
types.*
"""
But,
in *PRO PUPPET* page 127:
"""
*Note
2013 Sep 04
3
Puppet Dashboard Error 400 Invalid Parameter at passenger pp:48
Hi,
I am new to the job and forum. I installed puppet and puppetmaster and set
up my first dependencies acording to a manual that we have here in our
company. Everything works fine and I can set up new nodes with several
modules to choose from. Unfortunatley the Dashboard
<http://forge.puppetlabs.com/puppetlabs/dashboard>gives me errors instead
of starting correctley.
Here the
2013 Apr 18
1
Fetching class parameteres fails when tiering node inheritance under puppet 3.x
Hi,
I''m running into some trouble when trying to access some variables which
actually are a class parameter.
The following works OK:
node "common" {
$var=''foo''
}
node "gratia-base" inherits common {
class {
''gratia'':
dbhost => ''server.mysite.net'',
}
}
node "node1"
2013 Mar 21
6
How we can create two database Using same credetial using Puppet
Hello All,
I wanted to create two two MySQL database with same user credential using
Puppet-MySQL. How can I achieve this? Please find my script below.
class mysql::vsdatabase {
include mysql
mysql::db { ''vidispine'':
user => ''user'',
password => ''user123'',
host => ''db.<hostname>.com'',
}
}
How can I add
2013 Mar 04
7
I moved my modules and manifest directory in puppet master.
I also made the changes below in the puppet.conf file to tell puppet where
to look for the the modules and manifests. I then restart the puppet master
then ran puppet command to apply changes to a puppet client it did not
find anything to change just got these three lines "info: Caching catalog
for pdlnx-adpt03.kareoprod.ent, info: Applying configuration version
2013 Dec 04
10
MySQL server install with datadir != /var/lib/mysql
Has anybody sucessfully used puppetlabs-mysql (or some other method) to
install MySQL-server on Linux with a my.cnf where datadir != /var/lib/mysql
?
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To view