Questions tagged [pdk]

Puppet Development Kit (PDK) is suite of CLI tools which assist puppet developers produce quality modules.

Puppetlabs developed the PDK to provide puppet developers a toolset which can streamline and speed up the process of module development using a common approach to classes, tasks, syntax linting and unit testing. For more information vist Puppet Development Kit official page

Puppet developers write code using Puppets own Domain Specific Language (DSL) which is a declarative language primarily whilst also being able to leveraging other languages such as Ruby for defined types and custom facts to extend its capabilities.

Other languages such as Bash, Python, PowerShell can also be used in certain cases to also extend Puppet's capabilities but these languages are restricted to specific cases such as exec resources and external facts.

To utilize PDK the appropriate installer will need to be downloaded and installed on your operating system which will then provide the commandline tools such as:

  1. pdk new <module/class/task>
  2. pdk test unit
  3. pdk validate.

While using PDK, its important to take note of the version that is installed and the Puppet version it relates to, to ensure best compatibility between the module and the puppet infrastructure being supported.

22 questions
0
votes
2 answers

Artifactory Unable to find module with librarian-puppet

I'm trying to use the librarian-puppet to fetch forge modules from an Artifactory repository. In my Puppetfile I have something like: forge "https:///artifactory/api/puppet/" #From artifactory docs # PuppetLabs…
Daniel Serrão
  • 481
  • 1
  • 6
  • 17
0
votes
1 answer

Create Pin PDKResponseObject response not consistent with documentation

We are creating a pin in a specific Board by using the method createPinWithImageonBaord:description:progress:withSuccess:andFailure: We read in the documentation (here: https://developers.pinterest.com/docs/api/overview/ and here:…
Stefano
  • 33
  • 1
  • 7
0
votes
1 answer

What is the difference between aosp and android pdk?

First of all, I know the pdk definition. "platform development kit". My question is the following. I googled about android pdk and read some of them. But I'm still curious what pdk is. When I heard that google provides some leading manifactors the…
Sparkleholic
  • 78
  • 1
  • 6
0
votes
1 answer

destroy view and reload same view

I have run into an issue where I need to completely destroy and remove a component within my view, because the 3rd party items in the component need a full page refresh to function correctly. The component will only update when the parent view…
Robert
  • 815
  • 13
  • 29
0
votes
0 answers

Enyo app hybrid plugin is working faulty

I created such PDK plugin: #include #include #include "PDL.h" #include "SDL.h" #define forever for(;;) using namespace std; PDL_bool changeUserAgent(PDL_JSParameters * params) { ofstream s("/media/internal/myfile.txt"); …
marmistrz
  • 5,974
  • 10
  • 42
  • 94
-1
votes
2 answers

Error while evaluating a Resource Statement, Unknown resource type: '::coldfusion::site'

So I am creating a module to manage some coldfusion servers. I my init.pp I am trying to define a default site. ::coldfusion::site { 'default': site_number => $site_number, } The resource is defined in manifest\site.pp as define coldfusion::site…
Powertoaster
  • 85
  • 1
  • 1
  • 7
-1
votes
1 answer

how to work with cross domain cookie or session in java

I am using pdk jdeveloper portlet. I have deployed ear on tomcat server with host www.test1.com:8080/ now i m using it's provider on oracle server with same host but different port like www.test1.com:9090/ so here i m not able to use cookie or…
Ruchi
  • 5,032
  • 13
  • 59
  • 84
1
2