Re: [Puppet-dev] Puppet command execution through ruby

2017-05-25 Thread Shawn Ferry
g to be harder the further you go. > > > > On Thursday, May 25, 2017 at 12:17:09 PM UTC-4, Shawn Ferry wrote: > >> On May 24, 2017, at 10:02 PM, ggun <gaurav...@gmail.com > wrote: >> >> Hi Experts, >> >> Need your kind help in command to e

Re: [Puppet-dev] Puppet command execution through ruby

2017-05-25 Thread Shawn Ferry
> On May 24, 2017, at 10:02 PM, ggun wrote: > > Hi Experts, > > Need your kind help in command to execute in the puppet provider. Below is > the code snippet of the puppet provider code. > If I run the code with changes as below the code runs without any issue > >

Re: [Puppet-dev] Need help installing .bin rpm file using puppet

2017-05-10 Thread Shawn Ferry
> On May 9, 2017, at 23:12, gaurav gundal wrote: > > Hi , > > I am trying to manage the rpm.bin using puppet. I want to install the > x.rpm.bin on the RHEL 7 using puppet, but puppet package cannot be used to > install the .bin package directly. > I have the file

Re: [Puppet-dev] Re: Draft for new type and provider API

2017-02-28 Thread Shawn Ferry
> On Feb 28, 2017, at 12:54 PM, David Schmitt <david.schm...@puppet.com> wrote: > > > > On 28 February 2017 at 16:34, Shawn Ferry <shawn.fe...@oracle.com > <mailto:shawn.fe...@oracle.com>> wrote: > > > > > -- > Shawn Ferry

Re: [Puppet-dev] Re: Draft for new type and provider API

2017-02-28 Thread Shawn Ferry
-- Shawn Ferry > On Feb 28, 2017, at 10:59, David Schmitt <david.schm...@puppet.com> wrote: > > > >> On 27 February 2017 at 18:57, Shawn Ferry <shawn.fe...@oracle.com> wrote: >> >>> On Feb 27, 2017, at 9:59 AM, David Schmitt <da

Re: [Puppet-dev] Re: Draft for new type and provider API

2017-02-27 Thread Shawn Ferry
> On Feb 27, 2017, at 9:59 AM, David Schmitt wrote: > > Commands > > To use CLI commands in a safe and comfortable manner, the implementation can > use the commands method to access shell commands. You can either use a full > path, or a bare command name. In the

Re: [Puppet-dev] MCollective and non-root execution

2016-06-21 Thread Shawn Ferry
And for everyone who is wondering what bugs; I'm unintentionally cross posting so that's really just for Geoffery > On Jun 21, 2016, at 16:20, Shawn Ferry <shawn.fe...@oracle.com> wrote: > > Did you see the recent spate of mcollective bugs that were just filed? > >

Re: [Puppet-dev] MCollective and non-root execution

2016-06-21 Thread Shawn Ferry
Did you see the recent spate of mcollective bugs that were just filed? On of them does talk a about file perms iirc Shawn > On Jun 21, 2016, at 16:06, Geoffrey Gardella wrote: > > Hi All, > working on our port of MCollective into Solaris. I wanted to confirm that we >

[Puppet-dev] Trouble with resource names/prefetch

2016-06-02 Thread Shawn Ferry
I worked out my title_pattern problems and everything works as expected but when I use symbolic titles everything ends in tears. Trying to use a composite namevar but I’m running into the following problems. Without :name defined (using :title instead) I get aliases but the key is nil in

Re: [Puppet-dev] Trying to consolidate/batch command execution in a provider

2016-03-02 Thread Shawn Ferry
e that you undef the class parameter at the end of your application > so that you don't end up with memory leaks. > > Trevor > > On Wed, Jan 27, 2016 at 1:50 PM, Shawn Ferry <shawn.fe...@oracle.com > <mailto:shawn.fe...@oracle.com>> wrote: > I have a command that t

Re: [Puppet-dev] Trying to consolidate/batch command execution in a provider

2016-01-28 Thread Shawn Ferry
hook AFTER every resource was synchronized (and so > wouldn't stop the slow command from being synchronized every time). > > On Thu, Jan 28, 2016 at 11:36 AM, Shawn Ferry <shawn.fe...@oracle.com > <mailto:shawn.fe...@oracle.com>> wrote: > Yeah, I don’t like how the composi

[Puppet-dev] Trying to consolidate/batch command execution in a provider

2016-01-27 Thread Shawn Ferry
I have a command that takes one or more effectively free form arguments and executes somewhat slowly and sometimes if things are changing much more slowly. Lets say 30s nominal execution in the simple case. I’m not finding a list of hooks to see if anything is appropriate. Flush would be great