【发布时间】:2018-09-06 22:45:00
【问题描述】:
我正在尝试使用 puppet 安装 pgadmin4,
yum::install { 'pgadmin4':
ensure => 'present',
source => ['https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-centos10-10-2.noarch.rpm',
'https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm'
]
}
出现以下错误
parameter 'source' expects a String value, got Tuple
如何传递多个来源?
我以此为指导在 centos7 上安装 pgadmin4 install pgAdmin4 with yum
【问题讨论】:
-
我们首先需要知道 yum::install 类是什么才能知道什么是可能的。
-
是的,我推断出来了。我下面的回答希望能回答你的问题。