Skip to content

Commit

Permalink
refactor spec tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxmea committed Jun 3, 2024
1 parent 160f6e5 commit 4c1733a
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 255 deletions.
6 changes: 2 additions & 4 deletions .fixtures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ fixtures:
concat: "https://github.com/puppetlabs/puppetlabs-concat.git"
augeasproviders_core: "https://github.com/voxpupuli/puppet-augeasproviders_core.git"
augeasproviders_shellvar: "https://github.com/voxpupuli/puppet-augeasproviders_shellvar.git"
augeas_core:
repo: "https://github.com/puppetlabs/puppetlabs-augeas_core.git"
mount_core:
repo: "https://github.com/puppetlabs/puppetlabs-mount_core.git"
augeas_core: "https://github.com/puppetlabs/puppetlabs-augeas_core.git"
mount_core: "https://github.com/puppetlabs/puppetlabs-mount_core.git"
transition: "https://github.com/puppetlabs/puppetlabs-transition.git"
symlinks:
"nfs": "#{source_dir}"
2 changes: 1 addition & 1 deletion manifests/client.pp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#
class nfs::client (
String $ensure = $nfs::ensure,
String $nfs_v4 = $nfs::nfs_v4_client,
Boolean $nfs_v4 = $nfs::nfs_v4_client,
String $nfs_v4_mount_root = $nfs::nfs_v4_mount_root,
String $nfs_v4_idmap_domain = $nfs::nfs_v4_idmap_domain,
) {
Expand Down
27 changes: 11 additions & 16 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "derdanne-nfs",
"name": "puppet-nfs",
"version": "2.1.11",
"source": "https://github.com/derdanne/puppet-nfs.git",
"source": "https://github.com/voxpupuli/puppet-nfs.git",
"author": "derdanne",
"license": "Apache-2.0",
"summary": "Installs and configures NFS server and clients",
"project_page": "https://github.com/derdanne/puppet-nfs",
"issues_url": "https://github.com/derdanne/puppet-nfs/issues",
"project_page": "https://github.com/voxpupuli/puppet-nfs",
"issues_url": "https://github.com/voxpupuli/puppet-nfs/issues",
"dependencies": [
{"name":"puppetlabs/stdlib","version_requirement":">= 4.5.0 < 9.0.0"},
{"name":"puppetlabs/concat","version_requirement":">= 1.1.2 < 8.0.0"},
Expand All @@ -19,29 +19,23 @@
{
"operatingsystem": "Ubuntu",
"operatingsystemrelease": [
"14.04",
"16.04",
"18.04",
"20.04",
"22.04"
]
},
{
"operatingsystem": "Debian",
"operatingsystemrelease": [
"6",
"7",
"8",
"9",
"10",
"11"
"11",
"12"
]
},
{
"operatingsystem": "RedHat",
"operatingsystemrelease": [
"7",
"8"
"8",
"9"
]
},
{
Expand All @@ -53,7 +47,8 @@
{
"operatingsystem": "SLES",
"operatingsystemrelease": [
"12"
"12",
"15"
]
},
{
Expand All @@ -72,7 +67,7 @@
"requirements": [
{
"name": "puppet",
"version_requirement": ">= 4.0.0 < 9.0.0"
"version_requirement": ">= 7.0.0 < 9.0.0"
}
]
}
Loading

0 comments on commit 4c1733a

Please sign in to comment.