Displaying 20 results from an estimated 10000 matches similar to: "Only running database_grant the first time."
2013 Aug 23
1
Test the result of a hiera_hash() lookup
Hi folks,
Is there a way to test the result of a hiera_hash() lookup in a manifest? I
am trying to use hiera to do most of my configuration, like this for
example:
mysql::grants:
''user1@localhost'':
privileges:
- select_priv
''user2@localhost'':
privileges:
- select_priv
- insert_priv
- lock_tables_priv
I have a wrapper
2012 Jul 19
3
Problems granting privileges with puppetlabs/mysql
First off, I''m not sure if I should be asking questions about puppetlabs
modules here, if not, I apologise...
I''m trying to at least setup my mysql replication user through the mysql
module, but I seem to be unable to divine the correct way to do this. I''ve
tried a number of different variations, but my user doesn''t get the
repl_slave_priv on my user
2007 Aug 23
3
Using Puppet to swap eth0 and eth1
I''ve been using Puppet now for a month or so and I''ve come to a
problem that may warrant an additional Puppet metaparameter. I''m
advocating the addition of a metaparameter called "preaction" (or
something like that), which will perform some arbitrary action before
the resource is modified. There may be a way to do this within
Puppet already (with some
2012 Jun 15
1
cross server dependancies
I have an application package that needs to be installed on certain
application servers but before it can be installed, database access has to
be setup on a database server.
I have figured out how to export a resource on the app server that gets
collected and realized on the database server, but I cannot figure out how
to make the package on the app server depend on the exported resource
2012 Oct 02
3
PROBLEM : Cannot require an Exec
hello:
i currently am using Puppet to run some commands in a sequence. there are
two sequences of exec resources. we found that we cannot use require =>
Exec and it does not work at all as expected. here is some sample code.
exec { "exec-AAA":
command => "/bin/true",
returns => 0,
notify => Exec["exec-BBB"],
}
exec { "exec-BBB":
2013 Dec 09
0
mysql module v 1.0 mysql_grant - database_grant
Hi,
I''m using mysql module version 0.6.1 and I wanted to upgrade. After
reading a little I saw that migrating from v 1 to 2 must be studied, so
I decided to upgrde to version 1.
BUT, I''ve seen a couple of warnings on my first run and I''m updating my
code, but I''ve found that my old sysntax for database_grant is not
compatible with mysql_grant.
So, if I had
2012 Oct 01
7
Passing http_proxy_host option
Hi,
I''ve been trying to pass the http_proxy_host option to puppet but it''s not
taking.
I have tried the following:
sudo puppet apply --debug --verbose --http_proxy_host
http://user:pass@fqdn.com.au --modulepath ''/tmp/vagrant-puppet/modules-0''
/tmp/vagrant-puppet/manifests/default.pp
sudo puppet apply --debug --verbose
2012 Feb 16
4
Could not set present on ensure: Read-only file system
Hi,
I try install python-psycopg2 with other packages, when run apt-get -y
update returns the errors:
err: /Stage[main]/Etc/Package[build-essential]/ensure: change from
purged to present failed: Could not set ''present on ensure: Read-only
file system - /tmp/puppet20120216-1063-18q7lsz-0 at
/tmp/vagrant-puppet/manifests/vagrant.pp:15
err:
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 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 Jan 29
2
Reusable Puppet config for Vagrant
I took an hour this morning to document how I use Vagrant and Puppet together to provision development VMs as well as more production-like systems. This may be entirely elementary to folks who are more fluent with Puppet, but this is an example I thought was lacking.
https://github.com/blalor/vagrant-puppet-example
I welcome feedback and criticism of this setup. I''m looking to
2011 Sep 19
2
Puppet is very slow when running in AWS
I am using Puppet 2.7.2 with ruby 1.8.7 (2010-01-10 patchlevel 249)
and 64 bit Ubuntu 10.4.
I have a Vagrant environment which I have been using for development.
In the vagrant environment about 5 minutes is required to run all of
the modules used for the configuration I have been developing. When I
run exactly the same modules in AWS several hours are required. The
Vagrant VM has 1 CPU and 1 GB
2013 Jun 04
1
puppet DB providers
Hello,
What would you think of moving database, database_grant and database_user
types and providers from puppetlabs-mysql to its own module
(puppetlabs-dbproviders for example) so that we can develop providers for
others RDBMS ?
I''d like to develop providers for postgresql, so I think it makes sense to
put this types/providers in its own module.
best regards,
Mickaël Canévet
--
2012 Jul 03
6
Using onlyif
Here''s what I''m using:
exec { "cert-fix":
command => "curl http://curl.haxx.se/ca/cacert.pem -o
/etc/pki/tls/certs/ca-bundle.crt",
onlyif => "test -e /etc/pki/tls/certs/ca-bundle.crt",
}
But it keeps on failing:
> [default] Running Puppet with /tmp/vagrant-puppet/manifests/acid.pp...
> Parameter onlyif failed: ''test -e
2013 Nov 18
4
Puppet Masterless on Windows
Hi all,
I have been working on a configuration of a Masterless configuration on
Windows. I am able to get individual jobs to run like:
puppet apply <path to my puppet .pp file>
However, I would like to spin up the Vagrant box off a base VM, and have a
puppet manifest file in a location where puppet knows to look and provision
based off that file. The obvious place seems to be
2013 Jul 23
1
Enviroment variables or Java startup -D arguments
Hi All,
I have been searching around for a few hours now, but don''t seem to be
using the correct search terms for the answer I need. So please forgive me
if this is a question that has been answered 100 times :( I have seen many
questions regarding enviroment variables, but non seem to be related.
Again, I may be misunderstanding the vocabulary)
I am setting up
2013 Sep 29
1
set up a Gluster 2 node cluster in two lines of code :)
Hi gluster !
For those of you who need to spin up virtual gluster clusters for
development and testing:
Just finished creating a vagrantized, fully automated, totally rebuildable
and teardownable two node fedora 19 gluster setup and shared it on the
forge!
It uses fedora19 but since its all vagrant powered, you dont need to grab
or download a distro or iso or anything, just clone the git repo,
2014 Jan 09
1
OSX - SSH agent functionality differing based upon CLI arguments
Trying to get SSH agent forwarding working for a popular open source configuration management system called Ansible.
I?ve had some unexpected behaviour, the only cause of which I can find is how I express the command line arguments.
http://stackoverflow.com/questions/20952689/vagrant-ssh-agent-forwarding-how-is-it-working?noredirect=1#comment31511341_20952689
In summarise:
In the first
2013 Dec 15
2
puppet-gluster from zero: hangout?
Hey james and JMW:
Can/Should we schedule a google hangout where james spins up a
puppet-gluster based gluster deployment on fedora from scratch? Would love
to see it in action (and possibly steal it for our own vagrant recipes).
To speed this along: Assuming James is in England here , correct me if im
wrong, but if so ~ Let me propose a date: Tuesday at 12 EST (thats 5 PM in
london - which i
2017 Feb 15
1
provisioning with vagrant-libvirt leaves .img file only readable by root
I'm using libvirt on Debian/stretch (testing) with vagrant and the
vagrant-libvirt plugin. When I import a vagrant box (jessie64.box), the
resulting file permssions let anyone in the "kvm" group read the img.
But when I build upon that box, only root can read it:
-rw------- 1 root root 20198785024 Sep 19 18:19
buildserver_default.img
-rwxr--r-- 1 libvirt-qemu kvm