Library puppet v2.1.0在Puppetfile中切换git分支
我正在将Library puppet v2.1.0与以下puppet文件一起使用:Library puppet v2.1.0在Puppetfile中切换git分支,puppet,Puppet,我正在将Library puppet v2.1.0与以下puppet文件一起使用: mod "team/app", :git => "git@github.com:myTeam/puppet-repo.git", :branch => 'weblegacy' 当我尝试安装puppet时,会得到无法识别的选项:分支 在版本2.1.0中切换Puppetfile分支的语法是什么?关于: 国防部团队/应用程序, :git=>git@github.com:myTeam/pu
mod "team/app",
:git => "git@github.com:myTeam/puppet-repo.git",
:branch => 'weblegacy'
当我尝试安装puppet时,会得到无法识别的选项:分支
在版本2.1.0中切换Puppetfile分支的语法是什么?关于:
国防部团队/应用程序,
:git=>git@github.com:myTeam/puppet-repo.git,
:ref=>“weblegacy”
或者,如果要指定版本:
国防部团队/应用程序,
:git=>git@github.com:myTeam/puppet-repo.git,
:tag=>“v1.0.0”
关于Library puppet上的Puppetfile语法的更多信息大约在四年前基本上被r10k取代。您的Puppetfile将在r10k内按预期工作。是的,我知道这是Puppet的旧版本,但出于各种原因,我需要使用旧版本。我想帮助2.1.0正常工作。您使用的Puppet版本与此无关。@MattSchuchard这是什么意思?我在尝试使用特定版本的Library puppet时出错,我正在寻求有关语法的帮助以更正我的puppet文件。