Skip to content

Commit

Permalink
add librarian-puppet, require Puppet 7
Browse files Browse the repository at this point in the history
  • Loading branch information
rrotter committed Sep 22, 2023
1 parent 64634a1 commit 6c002bd
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .librarian/puppet/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
LIBRARIAN_PUPPET_DESTRUCTIVE: 'false'
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ group :development do
gem "rspec-puppet-utils"
gem "faker"
gem "parallel_tests"
gem "librarian-puppet"
end

gem 'puppet', '~> 7.26'
Expand Down
8 changes: 8 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ GEM
jgrep (1.5.4)
json-schema (4.1.1)
addressable (>= 2.8)
librarian-puppet (5.0.0)
librarianp (>= 0.6.3)
puppet_forge (>= 2.1, < 5)
rsync
librarianp (1.1.2)
thor (~> 1.0)
locale (2.1.3)
metaclass (0.0.4)
metadata-json-lint (3.0.3)
Expand Down Expand Up @@ -219,6 +225,7 @@ GEM
rspec-support (3.11.0)
rspec_junit_formatter (0.6.0)
rspec-core (>= 2, < 4, != 2.12.0)
rsync (1.0.9)
rubocop (1.6.1)
parallel (~> 1.10)
parser (>= 2.7.1.5)
Expand Down Expand Up @@ -286,6 +293,7 @@ PLATFORMS
DEPENDENCIES
faker
fast_gettext
librarian-puppet
parallel_tests
puppet (~> 7.26)
puppet-module-posix-default-r2.7
Expand Down
22 changes: 22 additions & 0 deletions Puppetfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env ruby
#^syntax detection

forge "https://forgeapi.puppetlabs.com"

# use dependencies defined in metadata.json
metadata

# A module from the Puppet Forge
# mod 'puppetlabs-stdlib'

# A module from git
# mod 'puppetlabs-ntp',
# :git => 'git://github.com/puppetlabs/puppetlabs-ntp.git'

# A module from a git branch/tag
# mod 'puppetlabs-apt',
# :git => 'https://github.com/puppetlabs/puppetlabs-apt.git',
# :ref => '1.4.x'

# A module from Github pre-packaged tarball
# mod 'puppetlabs-apache', '0.6.0', :github_tarball => 'puppetlabs/puppetlabs-apache'
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"requirements": [
{
"name": "puppet",
"version_requirement": ">= 6.0.0 < 8.0.0"
"version_requirement": ">= 7.0.0 < 8.0.0"
}
],
"pdk-version": "1.3.2",
Expand Down

0 comments on commit 6c002bd

Please sign in to comment.