edestecd / puppet-software

Puppet Module to install various Desktop Software
GNU General Public License v3.0
8 stars 7 forks source link

Add PDK to development (new section?) #14

Closed bittner closed 6 years ago

bittner commented 6 years ago

Puppet Development Toolkit (PDK) is only available via manual download and installation.

Proposed Solution

A Puppet-based installation would look like this:

  archive { 'pdk.deb':
    source  => 'https://pm.puppetlabs.com/cgi-bin/pdk_download.cgi?dist=ubuntu&rel=16.04&arch=amd64&ver=latest',
    path    => '/tmp/pdk.deb',
    extract => false,
    cleanup => false,
  }

  package { 'pdk':
    ensure   => present,  # latest? (to make sure dpkg upgrades an installed package)
    source   => '/tmp/pdk.deb',
    provider => 'dpkg',
  }

Maybe Reconsider vcsscm

It may be worth reconsidering the modules structure for vcsscm (try to understand whether moving that under a development category would be clearer).

bittner commented 6 years ago

See also https://github.com/puppetlabs/pdk/issues/324 (yum/apt/choco repos).

bittner commented 6 years ago

@edestecd Any comment on this?

Would this be valuable as a temporary solution as long as there are no official repositories for unattended installation? Or should we close this issue?

edestecd commented 6 years ago

I think we should add it if you have time. I think it should go here: https://github.com/edestecd/puppet-software/tree/master/manifests/idesdk

Since its an sdk or dev environment

bittner commented 6 years ago

PDK is now available via package sources for both yum and apt. See the PuppetLabs issue tracker for explanations, the setup instructions for details.