Displaying 20 results from an estimated 600 matches similar to: "chaining of create_resources"
2013 Apr 03
1
Using single hiera hash for two create_resources, and mounting filesystems
I am trying to use the same hiera hash to create the mount point and
mounts. (Would be nice if mount could create the mount points using 3.1.1)
My plan was to define create_mount_points and use create_resources with the
same hash, and just though away what I dont use.... maybe there is a
better means?
Here is the mount class:
class fstab::mounts ( $config = undef ) {
$defaults = {
2011 Aug 17
3
Using back-ported create_resources in 2.6.x
Does anyone have some examples of using this create_resources
function, https://github.com/puppetlabs/puppetlabs-create_resources,
? Based on the README example I can''t figure out exactly how to
change from using defines to using this function. Maybe I
misunderstand the purpose of create_resources...is it to replace
defines, or is it to allow ENCs (for example) to use a define?
Below
2013 Jun 12
2
Executing a script after creating vhosts with create_resources
Hello
I''d love a bit of advice in terms of how I should best go about this.
I am creating a bunch of vhosts, their definitions are stored in json (I''m using heira) that json file will be generated from data held on another server. I''m just using the puppetlabs apache module and create_resources to then generate all the vhosts and their directories etc. I''m
2012 Mar 30
2
Does create_resources support virtual resources?
Hi all,
I''m interested pushing my user list out of my users manifest and into
Hiera. Unfortunately I haven''t been able to get it to work the way I
thought it would. The error suggests that perhaps create_resources
cannot create virtual resources, but the docs I''ve read so far don''t
address it.
The class (in init.pp):
class users {
$system_users =
2013 Jul 30
2
Failed to parse template, wrong number of arguments (create_resources)
I''m having some issues trying to track down a problem I''m having parsing a
simple template, using create_resources and Hiera. Here''s my setup
(abridged):
../hieradata/settings.yaml:
*global:*
* variables:*
* env: foo*
*
*
*appSpecific:*
* serverName: someServer*
../modules/test/manifests/init.pp:
*class test {*
* create_resources(test::variables,
2012 Jul 20
2
rspec-puppet and create_resources
Using rspec-puppet should I be able to check for resources created as a
result of a create_resources call within a class?
Regards,
Mark
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/bUD_CitDYCAJ.
To post to this group, send email to
2012 Jul 18
1
create_resources function and puppet enc
Hi,
I am trying to create multiple users using puppet. I have created a ENC and
trying to use class wrapped defined types with create_resources function.
For some reason things are falling apart. I would really appreciate some
help on these
Here are the details about my classes and configuration
http://serverfault.com/questions/409001/create-resources-function-and-puppet-enc
--
You
2012 Aug 17
5
Hiera, Hashes, and Create_resources
Howdy:
I need some help please to get hiera configuration data derived
from YAML, thru puppet. I have studied Internet search results and
puppet documentation on create_resources and custom defines but
need a little help along. I can print out the YAML from variables,
arrays, and, finally, hashes too from a puppet manifest.
One thing that is stumping me is how to access from the custom
define
2013 Mar 08
5
hiera / create_resources / define
I''m trying to use create_resources to create a series of files with
semi-custom content based on a template.
This is what I have:
foo.conf.erb:
Name "<%= name %>"
WorkingDir "<%= working_dir %>"
... a bunch of static entries
YAML:
configs:
config1:
Name: app1
WorkingDir: /var/app1
config2:
Name: app2
WorkingDir: /var/app2
2012 Nov 15
4
Can I create virtual resources with create_resources function
I am trying to add ability to add virtual users to
the git://github.com/erwbgy/puppet-system.git module as I really want the
ability to use virtual users and then combine that with "User <| group ==
''x'' and group == ''y'' |>" way of realizing the users. This is much more
flexible than what I can do with this module out of the box.
Using the
2011 Mar 23
1
Ruby DSL: create_resource with exec
Hi! How to create "exec" resource in ruby DSL? Found mention of
create_resource but had no luck in using it =(
--
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 puppet-users+unsubscribe@googlegroups.com.
For more
2013 Jan 11
13
Profiles, Hiera, and create_resources('class','...')
Hi all,
We''ve recently started exploring the role / profile / component module
described by Craig Dunn in his blog here:
http://www.craigdunn.org/2012/05/239/ and discussed on the list the other
day. As I was implementing this for
a profile using the apache module, I realized that I could make another
refinement to our approach by using
2017 Jul 11
2
Extremely slow du
Hi Kashif,
Thank you for your feedback! Do you have some data on the nature of
performance improvement observed with 3.11 in the new setup?
Adding Raghavendra and Poornima for validation of configuration and help
with identifying why certain files disappeared from the mount point
after enabling readdir-optimize.
Regards,
Vijay
On 07/11/2017 11:06 AM, mohammad kashif wrote:
> Hi Vijay and
2017 Jun 18
1
Extremely slow du
Hi Mohammad,
A lot of time is being spent in addressing metadata calls as expected. Can
you consider testing out with 3.11 with md-cache [1] and readdirp [2]
improvements?
Adding Poornima and Raghavendra who worked on these enhancements to help
out further.
Thanks,
Vijay
[1] https://gluster.readthedocs.io/en/latest/release-notes/3.9.0/
[2] https://github.com/gluster/glusterfs/issues/166
On
2017 Jun 16
0
Extremely slow du
Hi Vijay
Did you manage to look into the gluster profile logs ?
Thanks
Kashif
On Mon, Jun 12, 2017 at 11:40 AM, mohammad kashif <kashif.alig at gmail.com>
wrote:
> Hi Vijay
>
> I have enabled client profiling and used this script
> https://github.com/bengland2/gluster-profile-analysis/blob/
> master/gvp-client.sh to extract data. I am attaching output files. I
>
2011 Dec 06
1
module can't find other modules
I have these three modules with the following structure:
|-- modules
| |-- create_resources
| | |-- LICENSE
| | |-- Modulefile
| | |-- README
| | |-- lib
| | | `-- puppet
| | | `-- parser
| | | `-- functions
| | | `-- create_resources.rb
| | |-- spec
| | | |-- spec.opts
| | | |-- spec_helper.rb
| | | `-- unit
2000 Jul 31
0
[patch] smbmount fixes for samba-2.0.7, testers wanted!
Hello all
This patch tries to remove a few bugs from smbmount. It would be nice to
get some testing+feedback on this from others using smbmount and possibly
get these things fixed for the next release of samba.
It does the following:
* Change lib/debug.c to allow changing your mind on being interactive.
A second call to setup_logging should now replace the effects of a
previous call. (hmm,
2007 Dec 21
0
online resizing (including shrinking) pushed out
Hello everyone,
Just before I head off to xmas vacation, I've pushed out my current
queue of unstable things to the unstable tree.
The big changes are the online resize, and a very very simple form of
ENOSPC detection:
btrfsctl -r new_size /mount_point
new_size can be an absolute number:
btrfsctl -r 8g /mount_point
or it can be an relative number:
# add 4GB
btrfsctl -r +4g /mount_point
2017 Aug 31
0
Gluster status fails
Thank you for the acknowledgement.
On Thu, Aug 31, 2017 at 8:30 PM, mohammad kashif <kashif.alig at gmail.com>
wrote:
> Hi Atin
>
> Thanks, I was not running any script or gluster command. But now gluster
> status command started working. CPU usage also came down and looking at the
> ganglia graph, cpu usage is strongly correlated with network activity.
>
> It may be
2013 Jan 24
2
rsync parameters errors
In my new bash script, I'm doing what I think is a very simple rsync
command the way I'm used to doing it. I just do a lot of setup and
checking before I get to it.
When I run it, it gets very unhappy with me. It's probably something
very simple.
I need to build the rsync command in a string so that some things can go
away - like if my variables DRY_RUN and DELETE are undefined,