Hi Aaron,

Unfortunately we do not have a way to run puppet code anymore from the
ambari agent.
We got rid of the puppet code for several reasons, most important ones were:
- Speed
- Ability to write unit tests

That being said at the task execution level executing a puppet apply from
the PuppetExecutor class that shipped with Ambari versions before 1.5.0
could still run the puppet code as intended.
However, this class does not exists anymore.
Also, just adding back the class would not help in anyway, we need a way to
define a sandboxed puppet task in the current python framework to allow
this to be script-able.

In short, I would recommend opening a Jira for this discussion to get more
input from the community.
It is important to understand use cases, so please do elaborate on those in
the Jira?

Note: It might be easier to port your code to python since the
resource_management python libraries that we have allow you to define
puppet like resources.

Best Regards,
Sid


On Thu, Oct 9, 2014 at 1:12 PM, Aaron Cody <[email protected]> wrote:

>
>  *we extended Ambari with some components of our own, using the existing
> hadoop/hortonworks puppet code as an example - all pure Ambari .. we don’t
> use a puppet master or anything like that … we’d rather not throw it all
> away at this point .. but we would like to move up to Ambari 1.6 … so can
> puppet/python component installers co-exist ? Or do we have to re-write all
> of our puppet code now in Python?*
>
>   From: SF Hadoop <[email protected]>
> Reply-To: "[email protected]" <[email protected]>
> Date: Thursday, October 9, 2014 at 10:45 AM
>
> To: "[email protected]" <[email protected]>
> Subject: Re: Puppet and Ambari
>
>   Using puppet with a newer Ambari installation is definitely possible
> but there are a lot of things you no longer need it for.
>
>  In what capacity are you wishing to still use puppet and is this your
> own installation of puppet (i.e., do you have a puppetmaster that you
> control)?
>
>  Cheers.
>
> On Thu, Oct 9, 2014 at 1:47 AM, Olivier Renault <[email protected]>
> wrote:
>
>> I will let dev shoot me down if I'm totally crazy.
>>
>>  I guess as a workaround, you could further customise your stack by 1st
>> installing a puppet agent using ( bash / python ) and then you could use
>> this puppet to do the rest.
>>
>>  Thanks,
>> Olivier
>>
>>
>> On 8 October 2014 23:43, Aaron Cody <[email protected]> wrote:
>>
>>>  resending this …
>>>
>>>  Q: we are on 1.2.4 and would like to upgrade to 1.6.1, but we have
>>> added some of our own components to the stack and would like to continue
>>> using puppet - is this possible?
>>>
>>>  thanks
>>>
>>>   From: Aaron Cody <[email protected]>
>>> Reply-To: "[email protected]" <[email protected]>
>>> Date: Wednesday, October 1, 2014 at 12:01 PM
>>> To: "[email protected]" <[email protected]>
>>> Subject: Re: Puppet and Ambari
>>>
>>>   given the architecture was supposed to be pluggable, can we still
>>> continue to use puppet with versions > 1.5 ?
>>>
>>>   From: Olivier Renault <[email protected]>
>>> Reply-To: "[email protected]" <[email protected]>
>>> Date: Tuesday, September 30, 2014 at 1:07 AM
>>> To: "[email protected]" <[email protected]>
>>> Subject: Re: Puppet and Ambari
>>>
>>>   You are correct, it's not used anymore. IIRC, it has been removed
>>> with version 1.5.
>>>
>>> Olivier
>>>
>>> CONFIDENTIALITY NOTICE
>>> NOTICE: This message is intended for the use of the individual or entity
>>> to which it is addressed and may contain information that is confidential,
>>> privileged and exempt from disclosure under applicable law. If the reader
>>> of this message is not the intended recipient, you are hereby notified that
>>> any printing, copying, dissemination, distribution, disclosure or
>>> forwarding of this communication is strictly prohibited. If you have
>>> received this communication in error, please contact the sender immediately
>>> and delete it from your system. Thank You.
>>>
>>
>>
>>
>>  --
>>   Olivier Renault
>> Solution Engineer , Hortonworks
>>    Mobile: +44 7500 933 036
>> Email: [email protected]
>> Website: http://www.hortonworks.com/
>>
>> <http://www.twitter.com/hortonworks?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature>
>> <http://www.linkedin.com/company/hortonworks?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature>
>> <http://www.facebook.com/hortonworks?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature>
>>  [image: photo]
>>  Latest From Our Blog: Learn How Hadoop Fits in Modern Data Architecture
>> at Strata
>> <http://hortonworks.com/blog/learn-hadoop-fits-modern-data-architecture-strata/?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature>
>>
>> CONFIDENTIALITY NOTICE
>> NOTICE: This message is intended for the use of the individual or entity
>> to which it is addressed and may contain information that is confidential,
>> privileged and exempt from disclosure under applicable law. If the reader
>> of this message is not the intended recipient, you are hereby notified that
>> any printing, copying, dissemination, distribution, disclosure or
>> forwarding of this communication is strictly prohibited. If you have
>> received this communication in error, please contact the sender immediately
>> and delete it from your system. Thank You.
>
>
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Reply via email to